strtrimΒΆ

strtrim removes all blank and tab characters from a string matrix.

smStringTrim = strtrim(smString)
smStringTrim = strtrim(smString, nType)

Return Value

smStringTrim is a string matrix without any blank or tab characters at the start and end.

Parameters

smString

smString is a string matrix.

nType

is one of the following values:

Value

Meaning

0

Remove all blank and tab characters (Default),

1

Remove all blank and tab characters at the beginning

2

Remove all blank and tab characters at the end

3

Remove all blank and tab characters at the end and beginning

id-1819045