NullWords

NullWords
is an option for Read and related functions which specifies whether null words should be taken to exist between repeated word separators.

DetailsDetails

  • With the default setting NullWords->False, repeated word separators are treated like single word separators.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

A file containing words separated by colons:

Repeated colons are treated as single separators:

In[2]:=
Click for copyable input
Out[2]=

Repeated colons are taken to have null words in between:

In[3]:=
Click for copyable input
Out[3]=
New in 2
New to Mathematica? Find your learning path »
Have a question? Ask support »