String-Read-Word!

(string-read-word! string) -> integer or #f

Destructively reads a byte "word" from the given string. If the string is empty, or does not contain a full word, #f is returned, and the string is not altered.

Examples:

>> (define a "abcdefghijklmnopqrstuvwxyz")
:: "abcdefghijklmnopqrstuvwxyz"
>> (string-read-word! a)
:: 24930
>> (define b "1")
:: "1"
>> (string-read-word! b)
:: #f
>> b
:: "1"