deblank

deblank(s) removes whitespace characters from the end of string s.

Examples

> deblank({'test   ';'  test   '})#

 [test]
 [  test]

See also

strtrim