FUNCTION REFERENCE

deblank

Remove trailing spaces from text.

Remove trailing spaces from text.

Syntax

s = deblank(s)

Syntax

c = deblank(c)

Removes trailing white space and null characters. A character matrix loses the trailing columns that are blank in every row. A cell array of text gives a cell array.

Example

deblank('ab   ')   % 'ab'

Differences from MATLAB: Most cases are not checked against MATLAB yet.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.