|
SOLUTIONS
|
MATHEMATICA 指南
-
函数
- Characters
- DictionaryLookup
- ExportString
- Find
- FindClusters
- Hash
- ImportString
- Nearest
- Read
- SequenceAlignment
- SetStreamPosition
- Skip
- StringCases
- StringCount
- StringDrop
- StringFreeQ
- StringInsert
- StringJoin
- StringLength
- StringMatchQ
- StringPosition
- StringReplace
- StringReplaceList
- StringReplacePart
- StringReverse
- StringSplit
- StringTake
- StringToStream
- StringTrim
- 相关指南
- 教程
字符串运算
Mathematica 结合了最新高效的算法,可以操作数百万元素的字符串, 这些都可以使用 Mathematica 特有的字符串模式.
参考资料参考资料
StringJoin — 合并字符串
StringSplit — 在空格处或指定模式下分割字符串
StringLength — 字符串长度 (按统一的字符编码标准(Unicode))
StringTake ▪ StringDrop ▪ StringInsert
StringTrim — 从字符串中去掉空白空间
StringPosition — 找到子串或满足模式的字符串位置
StringReplacePart — 在指定位置替换子串
StringReverse — 颠倒字符串中的顺序
StringReplace — 子串或满足模式的字符串的替换
StringCases — 给出字符串中所有满足字符串模式的实例
StringCount — 统计满足字符串模式的次数
StringFreeQ ▪ StringMatchQ ▪ StringReplaceList
Characters — 将字符串分割为字符列表
Hash — 计算字符串的哈希代码
ImportString, ExportString — 多个字符串格式间的转换
StringToStream — 设置一个可以有序读入的字符串
Read ▪ Find ▪ Skip ▪ SetStreamPosition ▪ ...
字符串数据操作 »
SequenceAlignment ▪ Nearest ▪ FindClusters ▪ DictionaryLookup ▪ ...
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
