strsplit

strsplit(str,delim) splits the string str according to the delimiters specified by delim. The default delimiter is comma (',').

Examples

>> strsplit('a,b,c')# 

% default delimiter: ','

[a][b][c]
>> strsplit('Split this string', ' ')#

 [Split][this][string]

See also

regexp | regexprep