Characters
Usage
• Characters["string"] 给出了字符串形式的字符列表.
Notes
• 每个字符作为一个长度为1的字符串. • Characters 处理普通和特殊字符. • 参见Mathematica全书: 节 2.7.4.
Further Examples
The string "Here is a message" is encoded by first converting it to a sequence of characters and then making some arbitrary substitutions.
In[1]:=
|
Out[1]=
|
In[2]:=
|
Out[2]=
|
This gives the list of characters in the \[...] form of .
In[3]:=
|
Out[3]=
|
|