MATLAB Function Reference
  Go to function:
    Search    Help Desk 
findstr    Examples   See Also

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      Compare strings

strmatch    Find possible matches for a string

strncmp     Compare the first n characters of two strings



[ Previous | Help Desk | Next ]