blanks

2 visualizzazioni (ultimi 30 giorni)
lowcalorie
lowcalorie il 23 Mag 2012
how would i write a code to print each line of the string array G omitting any trailing blanks?

Risposte (1)

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

Categorie

Scopri di più su Characters and Strings in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by