Finds occurrences of a string in an input matrix.
c = strmatchall(a, b)
c = strmatchall(a, b, 'exact')Legacy name: strmatch
Character matrix. MathScript first flattens a and searches afterwards.
Reports only exact matches. A match is exact if the trailing blanks are ignored and a is the same as in a row of b.
Indexes of rows in a that contain b. c is a column vector.
A = 'this'; B = strvconcat('that', 'this is', 'this is not'); C = strmatchall(A, B) C = strmatchall(A, B, 'exact')
Where This Node Can Run:
Desktop OS: Windows
FPGA: This product does not support FPGA devices