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