Effacer les filtres
Effacer les filtres

blanks

5 vues (au cours des 30 derniers jours)
lowcalorie
lowcalorie le 23 Mai 2012
how would i write a code to print each line of the string array G omitting any trailing blanks?

Réponses (1)

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

Catégories

En savoir plus sur Characters and Strings dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by