search for string array index
3 次查看(过去 30 天)
显示 更早的评论
I have a very big string array to search but it is in this format:
x=['a b c0 d';
'a b e1 f';
'a x d1 f';]
how can i efficiently search for the row index which has the letter 'a' in position 1 and the letter 'e1' in position 5:6. In this case the index is 2
Thanks. -S
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Characters and Strings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!