Trim()

Top  Previous  Next

Trim() - Remove both leading and trailing spaces from a string

Description

The Trim() function is used to remove both the leading and trailing spaces from a string.

Trim(string)

Example

MyString = Trim("  Hello  ") 'returns 'Hello'