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

TRIM_ALL

Remove all blank and tab characters (Default),

TRIM_LEADING

Remove all blank and tab characters at the beginning

TRIM_TRAILING

Remove all blank and tab characters at the end

TRIM_LEADING_TRAILING

Remove all blank and tab characters at the end and beginning

id-1819045