strfind

strfind(str,substr) returns occurrences of string substr in str

Examples

> strfind('abAbab','ab')#

            1            5

See also

strcmp | strncmpi | strrep