VBScript 函数参考手册
RTrim 函数可删除字符串右侧的空格。
RTrim(string)
dim txt txt=" This is a beautiful day! " document.write(RTrim(txt))
输出:
" This is a beautiful day!"
Search: