Skip to content

StringSplit

StringSplit(str)

split the string str by whitespaces into a list of strings.

StringSplit(str1, str2)

split the string str1 by str2 into a list of strings.

StringSplit(str1, RegularExpression(str2))

split the string str1 by the regular expression str2 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}

StringCases, StringContainsQ, StringCount, StringExpression, StringFreeQ, StringInsert, StringJoin, StringLength, StringMatchQ, StringPart, StringPosition, StringQ, StringReplace, StringRiffle, StringTake, StringToByteArray, StringTrim

Implementation status

  • ✅ - full supported

Github