Info
This question is closed. Reopen it to edit or answer.
Find index string in table
2 views (last 30 days)
Show older comments
I have a string that is present several times (bad Englisg, I mean you can find it multiple times in the table) I like to find all the indices. Hoy can someone do this?
2 Comments
Jan
on 16 May 2018
Please post an example of what your inputs are. What kind of "table" is it? Are all elements strings or char vectors?
Answers (1)
KSSV
on 16 May 2018
Read about strfind, ismemebr and unique. These functions should help to get what you want.
0 Comments
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!