MATLAB Function Reference
  Go to function:
    Search    Help Desk 
deblank    Examples

Strip trailing blanks from the end of a string

Syntax

Description

The deblank function is useful for cleaning up the rows of a character array.

str = deblank(str) removes the trailing blanks from the end of a character string str.

c = deblank(c), when c is a cell array of strings, applies deblank to each element of c.

Examples



[ Previous | Help Desk | Next ]