how to compare special characters in string
Mostrar comentarios más antiguos
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 comentarios
Image Analyst
el 10 de Jul. de 2014
Why is $ special ? It's a normal printable character like 3 or "A" or anything like that so you can use strfind().
Ajay Pherwani
el 11 de Jul. de 2014
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Characters and Strings en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!