-
Functions
- Alphabet
- AlphabeticSort
- CharacterCounts
- Characters
- Compress
- DictionaryLookup
- Diff
- EditDistance
- Encrypt
- Except
- ExpandFileName
- ExportString
- FileBaseName
- FileNameSplit
- FileNameTake
- FileTemplateApply
- HammingDistance
- Hash
- ImportString
- Interpreter
- LetterQ
- LLMExampleFunction
- LLMFunction
- LLMPrompt
- LLMResourceFunction
- LLMSynthesize
- LLMTool
- Longest
- LongestCommonSubsequence
- Nearest
- NumberString
- Pluralize
- RemoveDiacritics
- SemanticInterpretation
- SequenceAlignment
- Shortest
- Sort
- StringApply
- StringCases
- StringContainsQ
- StringCount
- StringDelete
- StringDrop
- StringExpression
- StringForm
- StringJoin
- StringLength
- StringPadLeft
- StringPart
- StringPosition
- StringRepeat
- StringReplace
- StringRiffle
- StringSplit
- StringTake
- StringTakeDrop
- StringTemplate
- StringToByteArray
- TemplateApply
- TextString
- TextWords
- ToCharacterCode
- ToExpression
- ToString
- ToUpperCase
- URLBuild
- URLDecode
- URLEncode
- URLParse
- Whitespace
- WordCloud
- Related Guides
- Tech Notes
-
-
Functions
- Alphabet
- AlphabeticSort
- CharacterCounts
- Characters
- Compress
- DictionaryLookup
- Diff
- EditDistance
- Encrypt
- Except
- ExpandFileName
- ExportString
- FileBaseName
- FileNameSplit
- FileNameTake
- FileTemplateApply
- HammingDistance
- Hash
- ImportString
- Interpreter
- LetterQ
- LLMExampleFunction
- LLMFunction
- LLMPrompt
- LLMResourceFunction
- LLMSynthesize
- LLMTool
- Longest
- LongestCommonSubsequence
- Nearest
- NumberString
- Pluralize
- RemoveDiacritics
- SemanticInterpretation
- SequenceAlignment
- Shortest
- Sort
- StringApply
- StringCases
- StringContainsQ
- StringCount
- StringDelete
- StringDrop
- StringExpression
- StringForm
- StringJoin
- StringLength
- StringPadLeft
- StringPart
- StringPosition
- StringRepeat
- StringReplace
- StringRiffle
- StringSplit
- StringTake
- StringTakeDrop
- StringTemplate
- StringToByteArray
- TemplateApply
- TextString
- TextWords
- ToCharacterCode
- ToExpression
- ToString
- ToUpperCase
- URLBuild
- URLDecode
- URLEncode
- URLParse
- Whitespace
- WordCloud
- Related Guides
- Tech Notes
-
Functions
String Manipulation
Integrated into the core Wolfram Language is industrial-strength string manipulation, not only with ordinary regular expressions but also with the Wolfram Language's own powerful general symbolic string-pattern language.
"string" — a string, allowing Unicode or special characters
Structural Operations
StringJoin (<>) — join strings together
StringLength — length of a string
StringSplit — split a string at spaces or other delimiters
StringTake, StringDrop, StringTakeDrop — take or drop parts of a string
StringPart — get one or more characters from specific positions in a string
String Patterns »
StringExpression — a symbolic string expression including symbolic string patterns
Longest ▪ Shortest ▪ Except ▪ Whitespace ▪ NumberString ▪ ...
Operations on Strings »
StringApply — apply a function to the characters in a string
StringReplace — make replacements for string patterns
StringCases — find cases of string patterns
StringContainsQ — test whether a string contains a string pattern
StringCount ▪ StringPosition ▪ StringRepeat ▪ StringDelete ▪ ...
Sort ▪ AlphabeticSort ▪ RemoveDiacritics
LLM-Based Operations »
LLMResourceFunction — apply operations from the Wolfram Prompt Repository
LLMFunction ▪ LLMExampleFunction ▪ LLMPrompt ▪ LLMTool ▪ ...
String Templating »
StringTemplate — create a string template
<*…*> — expression for evaluation within a string template
`…` — slot for substitution
TemplateApply ▪ FileTemplateApply ▪ ...
Text Construction »
StringRiffle ▪ StringPadLeft ▪ Pluralize ▪ LLMSynthesize ▪ ...
Character-Oriented Operations »
Characters — break a string into a list of characters
ToUpperCase ▪ ToCharacterCode ▪ LetterQ ▪ Alphabet ▪ ...
String Alignment & Comparison »
SequenceAlignment — find matching sequences in strings
Diff — return the diff between two strings
Nearest — find strings nearest in edit distance
HammingDistance ▪ EditDistance ▪ LongestCommonSubsequence ▪ ...
String Analysis »
CharacterCounts ▪ TextWords ▪ DictionaryLookup ▪ WordCloud ▪ ...
String Semantics »
ToString, ToExpression — convert between expressions and strings
Interpreter — interpret strings according to many type specifications
SemanticInterpretation — interpret strings semantically
ImportString, ExportString — translate strings in many file and other formats
TextString — give a textual version of any expression as a string
Systems-Related Operations »
Hash ▪ StringForm ▪ StringToByteArray ▪ Compress ▪ Encrypt ▪ ...
Operations on File Names »
FileNameSplit ▪ FileNameTake ▪ FileBaseName ▪ ExpandFileName ▪ ...