How do I determine if a word has a certain character in it?
Show older comments
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?
Accepted Answer
More Answers (1)
Image Analyst
on 4 Nov 2015
How about strfind()
index = strfind(string, 'c');
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!