blanks

2 Ansichten (letzte 30 Tage)
lowcalorie
lowcalorie am 23 Mai 2012
how would i write a code to print each line of the string array G omitting any trailing blanks?

Antworten (1)

Wayne King
Wayne King am 23 Mai 2012
s = 'Have you tried deblank? '
s1 = deblank(s);
length(s)
length(s1)

Kategorien

Mehr zu Characters and Strings finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by