<string-reader> ( str -- stream )
Factor handbook » Input and output » String streams

Next:<string-writer> ( -- stream )


Vocabulary
io.streams.string

Inputs
stra string


Outputs
streaman input stream


Word description
Creates a new stream for reading str from beginning to end.

Notes
The implementation exploits the ability of string buffers to respond to the input stream protocol by reading characters from the end of the buffer.

Definition