how to compare special characters in string
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Image Analyst
le 10 Juil 2014
Why is $ special ? It's a normal printable character like 3 or "A" or anything like that so you can use strfind().
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Characters and Strings dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!