TrimRightSpaces Function

Top  Previous  Next

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

 

Short form: "rtrim".

 

Syntax

 

value = TrimRightSpaces( inputString )

 

Parameters

inputString

 

the string being trimmed

 

 

 

returns

 

the trimmed string

 

ExamplesThe following examples illustrate the use of the TrimRightSpaces  function:

 

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