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