Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

VBScript RTrim function


May 13, 2021 VBScript


Table of contents


VBScript RTrim function

The VBScript RTrim function returns a copy of the string that removes the tail space.


VBScript RTrim function Complete VBScript reference manual

The RTrim function removes spaces to the right of the string.

Tip: See LTrim and Trim functions.

Grammar

RTrim(string)

parameter describe
string Required.String expressions.
<script type="text/vbscript">

fname=" Jack "
document.write("Hello" & RTrim(fname) & "and welcome.")

</script>

The above example output results:

Hello Jackand welcome.

Try it out . . .

VBScript RTrim function Complete VBScript reference manual