How to cut last empty space characters from a string?
Mostrar comentarios más antiguos
Which is the most simple way to cut empty space characters at the end of a string (if exists)?
1 comentario
Respuestas (1)
Azzi Abdelmalek
el 18 de Mayo de 2016
str='word '
out=strtrim(str)
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!