About

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 (StringInsert, StringDrop, StringTake, etc.), matching, selecting or replacing parts of (StringMatchQ, StringReplace, 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. Cases -> StringCases, MatchQ -> StringMatchQ). Almost all list-based function has its string-equivalent.

Add if the question is about matching regular expressions in strings. Use 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 .

Useful links

Example questions

history | show excerpt | excerpt history