Questions on the manipulation of
String objects in Mathematica, and the functions used for these manipulations. This includes converting (
ToString), joining (
StringJoin), cutting (
StringSplit), modifying (
StringTake, etc.), matching, selecting or replacing parts of (
StringPosition, etc.) a string or list of strings.
Note that string-specific functions are named after their list-manipulating counterparts with the
String... prefix added (cf.
StringMatchQ). Almost all list-based function has its string-equivalent.
Add regular-expressions if the question is about matching regular expressions in strings. Use text for importing/exporting string/text format data, textual analysis and data mining of text. Questions about how to encode strings in a certain encoding should use character-encoding.
- Operations on strings tutorial
- Strings and Characters overview
- String Patterns tutorial on pattern matching in strings
- Regular Expressions tutorial on string manipulation through regular expressions