File Exchange

image thumbnail


version (573 Bytes) by Tom Coulter
Cell array implementation of STRFIND

1 Download

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 (2021). strfind.m (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

Michael Robbins

Let's not write off all those who cannot afford to upgrade!

Duane Hanselman

This is a builtin function in MATLAB 7.1 (R14sp3)

MATLAB Release Compatibility
Created with R12.1
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!