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

TokenWords

TokenWords
is an option for Read and related functions which gives a list of token words to be used to delimit words.
  • The setting for TokenWords is a list of strings which are used as delimiters for words to be read.
  • The delimiters specified by TokenWords are themselves returned as words.
A text file:
Read the file:
Read the file using token words to delimit words in the text:
A text file:
Read the file:
In[2]:=
Click for copyable input
Out[2]=
Read the file using token words to delimit words in the text:
In[3]:=
Click for copyable input
Out[3]=
New in 2
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF