how to compare special characters in string
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Image Analyst
il 10 Lug 2014
Why is $ special ? It's a normal printable character like 3 or "A" or anything like that so you can use strfind().
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Characters and Strings in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!