Owning Class: string
Requires: MathScript RT Module
c = strfindall(a, b)
Finds all occurrences of a string within another string.
|a||Specifies the string in which you want to search.|
|b||Specifies the string for which you want to search.|
|c||Returns the starting indexes in a of all occurrences of b. c is a row vector.|
A = 'this is a test for strfindall'
B = 'is'
C = strfindall(A, B)