TextRange2.TrimText Method
Removes the white space on the left and right sides of the text in the TextRange2 object.
Syntax
expression.TrimText
expression An expression that returns a TextRange2 object.
Return Value
TextRange2
Removes the white space on the left and right sides of the text in the TextRange2 object.
Syntax
expression.TrimText
expression An expression that returns a TextRange2 object.
Return Value
TextRange2