StringSplit

WMA link


StringSplit[s]

splits the string s at whitespace, discarding the whitespace and returning a list of strings.

StringSplit[s, pattern]

splits s into substrings separated by delimiters matching the string expression pattern.

StringSplit[s, {$p_1$, $p_2$, ...}]

splits s at any of the $p_i$ patterns.

StringSplit[{$s_1$, $s_2$, ...}, {$d_1$, $d_2$, ...}]

returns a list with the result of applying the function to each element.

By default any number of whitespace characters are used to at a delimiter:

However if you want instead to use only a single character for each delimiter, use WhiteSpaceCharacter:

Split using a delmiter that has nonzero list of 12's

StringRiffle
StringTake