/usr/share/freemat/help/text/strfind.mdc is in freemat-help 4.0-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | STRFIND STRFIND Find Substring in a String
Usage
Searches through a string for a pattern, and returns the starting
positions of the pattern in an array. There are two forms for
the strfind function. The first is for single strings
ndx = strfind(string, pattern)
the resulting array ndx contains the starting indices in string
for the pattern pattern. The second form takes a cell array of
strings
ndx = strfind(cells, pattern)
and applies the search operation to each string in the cell array.
|