How do I determine if a word has a certain character in it?
显示 更早的评论
How do I determine if a word has a certain character in it?
For example if I have a word ?????? and want to know if the letter c is in it?
采纳的回答
更多回答(1 个)
Image Analyst
2015-11-4
How about strfind()
index = strfind(string, 'c');
类别
在 帮助中心 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!