Returns a copy of the input string without the trailing space characters.

 

Syntax:

value = TrimRightSpaces( inputString )
 

OR

value = RTrim(inputString )       '  Short form usage: "RTrim".

 

Parameter:

Description:

inputString

String expression that needs the spaces on the right to be trimmed.

value

Same string expression minus the trailing Space characters.

 

Example:

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

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

 

Results:

  See example comments.

 

Links:

TrimLeftSpaces, TrimSpaces

See Also:

Data Groups and Types

 


Edit Time: 9/25/2017 09:09:54 AM


Topic ID#: 36

 

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software