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

WhitespaceCharacter

WhitespaceCharacter
represents a single whitespace character in StringExpression.
  • Whitespace characters are taken to include spaces, tabs and newlines.
Split a string at all single whitespace characters:
In[1]:=
Click for copyable input
Out[1]=
 
Sequences of whitespace characters are split into single characters:
In[1]:=
Click for copyable input
Out[1]//InputForm=
Use Whitespace to represent a sequence of whitespace characters:
In[2]:=
Click for copyable input
Out[2]//InputForm=
New in 5.1