StringToStream

StringToStream["string"]

opens an input stream for reading from a string.

Details

Examples

Basic Examples  (1)

Convert a string to a stream:

Read the first number from the stream object:

Read the next character from the stream:

Close the stream:

Wolfram Research (1991), StringToStream, Wolfram Language function, https://reference.wolfram.com/language/ref/StringToStream.html.

Text

Wolfram Research (1991), StringToStream, Wolfram Language function, https://reference.wolfram.com/language/ref/StringToStream.html.

BibTeX

@misc{reference.wolfram_2021_stringtostream, author="Wolfram Research", title="{StringToStream}", year="1991", howpublished="\url{https://reference.wolfram.com/language/ref/StringToStream.html}", note=[Accessed: 23-September-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_stringtostream, organization={Wolfram Research}, title={StringToStream}, year={1991}, url={https://reference.wolfram.com/language/ref/StringToStream.html}, note=[Accessed: 23-September-2021 ]}

CMS

Wolfram Language. 1991. "StringToStream." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/StringToStream.html.

APA

Wolfram Language. (1991). StringToStream. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/StringToStream.html