Edit Control in a GUI
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
If the contents end in a backslash (text entered using the Property Inspector) the result has a non-printing character added at execution and are therfore not correct if I want to use the value. If I change the contents of the Edit Control during execution, the contents are correct.
2 commentaires
Walter Roberson
le 26 Oct 2013
Interesting. Is the non-printing character always the same one? What is its corresponding numeric value?
Réponse acceptée
Robert
le 27 Oct 2013
2 commentaires
Walter Roberson
le 27 Oct 2013
get() teh String property, and add numeric 0 to the string. The result will be a numeric array that will show the character numbers of each character.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur String Parsing 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!