Skip to main content

ReadString

ReadString["file"] reads the complete contents of a file and returns it as a string.

ReadString[stream] reads everything from a stream and returns it as a string.

ReadString[proc] reads everything generated by an external process and returns it as a string.

ReadString[src,term] reads until the terminator term is encountered.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.