StringInsert
Usage
• StringInsert["string", "snew", n] 返回把 "snew" 插入"string"的第n个位置得到的字符串.
• StringInsert["string", "snew", -n] 在"string"倒数第n个位置插入.
• StringInsert["string", "snew",  , , ... ] 在每个  位置插入一个 "snew" 的副本.
Notes
• 例如: StringInsert["abcdefg", "XYZ", 2]  . • StringInsert["string", "snew", n] 使 snew 的第一个字符成为新字符串中第n个字符. • StringInsert["string", "snew", -n] 使 snew 的最后一个字符成为新字符串中倒数第n个字符. • 在 StringInsert["string", "snew",  , , ... ] 中,  被取作在任何插入进行之前 "string" 中的位置.
Further Examples
You can insert one string into another.
In[1]:=
|
Out[1]=
|
|