how to compare special characters in string
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ajay Pherwani
am 10 Jul. 2014
Kommentiert: ananth a
am 27 Nov. 2019
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 Kommentare
Image Analyst
am 10 Jul. 2014
Why is $ special ? It's a normal printable character like 3 or "A" or anything like that so you can use strfind().
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Characters and Strings finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!