how to compare special characters in string
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a strings
string='$(0)parameter'
I want to find if '$' is present in the string or not. Can any one tell me how to do that? Using which string functions I can achieve that?
댓글 수: 2
Image Analyst
2014년 7월 10일
Why is $ special ? It's a normal printable character like 3 or "A" or anything like that so you can use strfind().
채택된 답변
추가 답변 (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!