deblank
Remove trailing whitespace.
📝Syntax
res = deblank(str)
📥Input Arguments
Parameter Description
str a string, a cell of strings or a string array.
📤Output Arguments
Parameter Description
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
deblank(' Nel Son ')
deblank(" Nel Son ")
deblank([' Nel Son ', char(160)])
🔗See Also
strtrimtoupper
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub