DOCUMENTATION CENTER SEARCH
Mathematica
>
Character Operations
>
Built-in
Mathematica
Symbol
Characters in Strings
Special Characters
String Patterns
Working with String Patterns
Tutorials »
|
String
StringJoin
StringLength
ToCharacterCode
StringExpression
StringToStream
CharacterRange
See Also »
|
Atomic Elements of Expressions
Character Operations
Constructing Lists
String Manipulation
String Operations
More About »
Characters
Characters
["
string
"]
gives a list of the characters in a string.
MORE INFORMATION
Each character is given as a length one string.
Characters
handles both ordinary and special characters.
Characters
has attribute
Listable
.
EXAMPLES
CLOSE ALL
Basic Examples
(1)
Break a string into a list of characters:
In[1]:=
Out[1]=
Show in
InputForm
:
In[2]:=
Out[2]//InputForm=
Reassemble the string:
In[3]:=
Out[3]=
Scope
(2)
Applications
(4)
Properties & Relations
(1)
Possible Issues
(3)
SEE ALSO
String
StringJoin
StringLength
ToCharacterCode
StringExpression
StringToStream
CharacterRange
TUTORIALS
Characters in Strings
Special Characters
String Patterns
Working with String Patterns
MORE ABOUT
Atomic Elements of Expressions
Character Operations
Constructing Lists
String Manipulation
String Operations
New in 1 | Last modified in 3
© 2008 Wolfram Research, Inc.