LTrim
Ltrim函数将删除字符串左侧的空格。
语法
LTrim(String)
例
<!DOCTYPE html> <html> <body> <script language = "vbscript" type = "text/vbscript"> var = "Microsoft VBScript" document.write("After Ltrim : " & LTrim(var) & "<br />") </script> </body> </html>
结果:
After Ltrim : Microsoft VBScript
作者:terry,如若转载,请注明出处:https://www.web176.com/vbscript/1224.html