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

WriteString

WriteString[channel, expr1, expr2, ...]
converts the expri to strings, and then writes them in sequence to the specified output channel.
  • WriteString does not put a newline at the end of the output it generates.
Open a stream:
Write to the stream:
Close the stream:
Read the file:
New in 1 | Last modified in 5