Owning Class: string
Requires: MathScript RT Module
c = strfindall(a, b)
Legacy Name: strfind
Finds all occurrences of a string within another string.
| Name | Description |
|---|---|
| a | Specifies the string in which you want to search. |
| b | Specifies the string for which you want to search. |
| Name | Description |
|---|---|
| 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)