This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / Programming / String Manipulation /

StringToStream

FilledSmallSquare StringToStream["string"] opens an input stream for reading from a string.

FilledSmallSquare StringToStream yields a stream of the form InputStream[String, n].

FilledSmallSquare Operations like Read and Find work on streams returned by StringToStream.

FilledSmallSquare You must use Close to close streams created by StringToStream.

FilledSmallSquare See Section 2.12.10.

FilledSmallSquare See also: Characters.

FilledSmallSquare New in Version 2.

Further Examples