How to cut last empty space characters from a string?
이전 댓글 표시
Which is the most simple way to cut empty space characters at the end of a string (if exists)?
답변 (1개)
Azzi Abdelmalek
2016년 5월 18일
str='word '
out=strtrim(str)
카테고리
도움말 센터 및 File Exchange에서 Characters and Strings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!