with-string-reader ( str quot -- )
Factor handbook > Input and output > String streams

Prev:<string-writer> ( -- stream )
Next:with-string-writer ( quot -- str )


Vocabulary
io.streams.string

Inputs and outputs
stra string
quota quotation


Word description
Calls the quotation in a new dynamic scope with input-stream rebound to an input stream reading str from beginning to end.

Definition