blanks
1 view (last 30 days)
Show older comments
how would i write a code to print each line of the string array G omitting any trailing blanks?
0 Comments
Answers (1)
Wayne King
on 23 May 2012
s = 'Have you tried deblank? '
s1 = deblank(s);
length(s)
length(s1)
0 Comments
See Also
Categories
Find more on Characters and Strings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!