Trim Function

  • Updated

The Trim function returns a copy of a string with all leading and trailing spaces removed.

Syntax

 

The Trim function returns a copy of a string with all leading and trailing spaces removed.

 

Trim(value)

 

 

Arguments:

 

 

 

value

String - The string to be trimmed.

Remarks

  • To trim all possible whitespace characters, use the TrimWhitespace function.
  • Example: Trim(" this text starts with a space") returns "this text starts with a space".

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.