Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

VBScript RTrim Function

VBScript RTrim Function


VBScript reference manual Complete VBScript Reference Manual


The RTrim function removes the spaces on the right side of a string.

**Tip:** See also the LTrim and Trim functions.

Syntax

RTrim(string)

Parameters Description
string Required. A string expression.

Example

Example

The example above produces the following output:

Hello Jackand welcome.

Try it »


VBScript reference manual Complete VBScript Reference Manual