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 件のコメント
回答 (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!