deblank(s)
deblank(s)
removes the trailing blanks from the end of a character string s
. It also removes any null characters, characters with an absolute value of zero, from within the string.
blanks
(c) Copyright 1994 by The MathWorks, Inc.