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!