Remove leading and trailing whitespace from string array or character array
newTxt = strtrim(txt)
newTxt = strtrim(
removes
leading and trailing whitespace characters from txt
)txt
and
returns the result as newTxt
. However, strtrim
does
not remove significant whitespace characters. For example, strtrim
removes
leading and trailing space and tab characters, but does not remove
the nonbreaking space character, char(160)
.