read-string -- r7rs Definition procedure;
read-string (from vonuvoli);Procedure variants:
((range-length-not-zero) -> (string-not-empty-or-eof))
range-length-not-zero;string-not-empty-or-eof;((range-length-not-zero textual-input-port-eof) -> (eof-object))
range-length-not-zero;textual-input-port-eof;eof-object;((range-length-not-zero textual-input-port-open) -> (string-not-empty-or-eof))
range-length-not-zero;textual-input-port-open;string-not-empty-or-eof;scheme:base -- (scheme base);scheme -- (scheme);(read-string k) (read-string k port)Reads the next
kcharacters, or as many as are available before the end of file, from the textual inputportinto a newly allocated string in left-to-right order and returns the string. If no characters are available before the end of file, an end-of-file object is returned.
The text herein was sourced and adapted as described in the "R7RS attribution of various text snippets" appendix.
range-length-not-zero;string-not-empty-or-eof;textual-input-port-eof;eof-object;textual-input-port-open;