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

VBScript LTrim function


May 13, 2021 VBScript


Table of contents


VBScript LTrim function

The VBScript LTrim function returns a copy of the string that removes the leading space.


VBScript LTrim function Complete VBScript reference manual

The LTrim function removes spaces to the left of the string.

Tip: See RTrim and Trim functions.

Grammar

LTrim(string)

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

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

</script>

The above example output results:

HelloJack and welcome.

Try it out . . .

VBScript LTrim function Complete VBScript reference manual