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!