TrimSpaces function

Top  Previous  Next

Returns a copy of the input string without the leading and trailing spaces.

 

Short form: "trim".

 

Syntax

 

value = TrimSpaces(inputString, )

 

Parameters

inputString

 

the string being trimmed

 

 

 

returns

 

the trimmed string

 

Examples

The following examples illustrate the use of the TrimSpaces  function:

 

value = TrimSpaces( "   Hello   " )    ' Returns "Hello"