Borrar filtros
Borrar filtros

blanks

3 visualizaciones (últimos 30 días)
lowcalorie
lowcalorie el 23 de Mayo de 2012
how would i write a code to print each line of the string array G omitting any trailing blanks?

Respuestas (1)

Wayne King
Wayne King el 23 de Mayo de 2012
s = 'Have you tried deblank? '
s1 = deblank(s);
length(s)
length(s1)

Categorías

Más información sobre Characters and Strings en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by