strfind.m

Version 1.0.0.0 (573 Bytes) by Tom Coulter
Cell array implementation of STRFIND
1.7K Downloads
Updated 14 Nov 2005

No License

K = STRFIND(STRS,STR) looks through the rows of the cell array of strings STRS to find strings that contain the string STR, returning the matching row indices.

Functions very much like STRMATCH with a cell array input, except STRMATCH is limited to whenever the cell array string begins with STR.

Unlike STRMATCH, it does not work with a char array input. I think this is a limitation of the Matlab function STRFIND.

Cite As

Tom Coulter (2026). strfind.m (https://www.mathworks.com/matlabcentral/fileexchange/9008-strfind-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12.1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Characters and Strings in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0