stripblanks - strips leading and trailing blanks of strings
stripblanks strips leading and trailing blanks of strings
a=' 123 '; '!'+a+'!' '!'+stripblanks(a)+'!' a=[' 123 ',' xyz'] strcat(stripblanks(a))