WordCharacter

WordCharacter

represents a letter or digit character in StringExpression.

Details

Examples

open allclose all

Basic Examples  (3)

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

Test whether a string ends with a letter or digit character:

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

Reverse words in a string:

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

Properties & Relations  (1)

See Also

LetterCharacter  DigitCharacter  WordBoundary  WhitespaceCharacter  PunctuationCharacter  Except  StringExpression

Tutorials

Introduced in 2004
(5.1)