How to cut last empty space characters from a string?
Afficher commentaires plus anciens
Which is the most simple way to cut empty space characters at the end of a string (if exists)?
1 commentaire
Réponses (1)
Azzi Abdelmalek
le 18 Mai 2016
str='word '
out=strtrim(str)
Catégories
En savoir plus sur Characters and Strings dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!