TrimWhitespace Function

  • Updated

The TrimWhitespace function removes leading, trailing, and duplicate whitespace from a string.

Syntax

 

The TrimWhitespace function removes leading, trailing, and duplicate whitespace from a string.

 

TrimWhitespace(value)

 

 

Arguments:

 

 

 

value

String - A text value.

Remarks

  • Whitespace characters are space, tab, carriage return, line feed, and page break.
  • Example: TrimWhitespace(" The Mouse That Roared ") returns "The Mouse That Roared".

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.