chickadee » input-parse » next-token-of

next-token-of INC-CHARSET #!optional PORTprocedure

Reads characters from the PORT that belong to the list of characters INC-CHARSET. The reading stops at the first character which is not a member of the set. This character is left on the stream. All the read characters are returned in a string.

The optional argument PORT defaults to the current input port.