FUNCTION REFERENCE
findstr
Find overlapping occurrences of the shorter string in the longer one.
Find overlapping occurrences of the shorter string in the longer one.
Syntax
indices = findstr(a, b)Example
findstr('aaa','aa') % [1 2]Differences from MATLAB: Character inputs only.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.