Member of the string class.
c = strfind(a, b)
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 column vector. |
A = 'this is a test for strfind'
B = 'is'
C = strfind(A, B)