WhitespaceCharacter

WhitespaceCharacter
represents a single whitespace character in StringExpression.

DetailsDetails

  • Whitespace characters are taken to include spaces, tabs, and newlines.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

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:

Use Whitespace to represent a sequence of whitespace characters:

Introduced in 2004
(5.1)