Next: string.regexprep, Previous: string.strrep, Up: string [Contents]
Find pattern in string.
Finds the locations where pattern occurs in the strings of obj.
TODO: It’s ambiguous whether a scalar this should result in a numeric out or a cell array out.
Returns either an index vector, or a cell array of index vectors.