Accent as a character in a string
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I'm am in a situation where I need to use accent as a character in a string, but MATLAB interpret ' as the beginning/ending of a string.
Is there a way to work around this problem?
0 commentaires
Réponses (1)
Walter Roberson
le 9 Jan 2012
Example:
string = 'Don''t forget to double the apostrophe!'
0 commentaires
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!