VBScript RTrim Function
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 »
Complete VBScript Reference Manual