Mathematica > Systems Interfaces & Deployment > File Operations > Low-Level File Operations > WriteString >

WriteString

WriteString
converts the 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:
Open a stream:
In[1]:=
Click for copyable input
Out[1]=
Write to the stream:
In[2]:=
Click for copyable input
Close the stream:
In[3]:=
Click for copyable input
Out[3]=
Read the file:
New in 1 | Last modified in 5
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF