StringSplit
StringSplit(str)
split the string
str
by whitespaces into a list of strings.
StringSplit(str1, str2)
split the string
str1
bystr2
into a list of strings.
StringSplit(str1, RegularExpression(str2))
split the string
str1
by the regular expressionstr2
into a list of strings.
See
Examples
>> StringSplit("128.0.0.1", "."){128,0,0,1}
>> StringSplit("128.0.0.1", RegularExpression("\\\\W+")){128,0,0,1}
>> StringSplit("a1b2.2c0.333d4444.0efghijlkm", NumberString){a,b,c,d,efghijlkm}
Related terms
StringCases, StringContainsQ, StringCount, StringExpression, StringFreeQ, StringInsert, StringJoin, StringLength, StringMatchQ, StringPart, StringPosition, StringQ, StringReplace, StringRiffle, StringTake, StringToByteArray, StringTrim
Implementation status
- ✅ - full supported