deblank
Remove trailing whitespace.
Syntax
res = deblank(str)
Input argument
str - a string, a cell of strings or a string array.
Output argument
res - a string without trailing whitespace.
Description
deblank removes trailing whitespace.
deblank does not remove all significant whitespace (only characters ' \t\n\r\f\v' removed).
Examples
See also
History
Version | Description |
---|---|
1.0.0 | initial version |
Author
Allan CORNET
Last updated