YouTip LogoYouTip

Func Ltrim

# VBScript LTrim Function * * Complete VBScript Reference Manual](#) * * * The LTrim function removes leading spaces from a string. **Tip:** See also the RTrim and Trim functions. ### Syntax LTrim(string) | Parameter | Description | | :--- | :--- | | string | Required. A string expression. | ## Example ## Example fname=" Jack " document.write("Hello" & LTrim(fname) & "and welcome.") The output of the above example is: HelloJack and welcome. [Try it Β»](#) * * Complete VBScript Reference Manual](#) AI is thinking... [](#)(#) (#)[](#) [VolcEngine Ark Coding Plan supports mainstream large models such as Doubao, GLM, DeepSeek, Kimi, MiniMax, etc., with official direct supply for stability and reliability. Β₯9.9/month Activate Now](https://maas.xfyun.cn/modelSquare?ch=maas_lm_l2E)
← Func RtrimFunc Len β†’