MATLAB Function Reference    
findstr

Find one string within another

Syntax

Description

k = findstr(str1,str2) finds the starting indices of any occurrences of the shorter string within the longer.

Examples

See Also

strcmp, strmatch, strncmp


 findobj finish