第1个回答 推荐于2017-09-16
删除字串符的空格。如
dim word as string=" abc"
trim(word)
word="abc"
第2个回答 2012-05-31
Trim()
FUNCTION: 去掉字符串左右的空格.
SYNTAX: Trim(string)
ARGUMENTS: string is any valid string expression.
EXAMPLE: <%
strTest = " This is a test!! "
response.write Trim(strTest)
%>
RESULT: This is a test!!
第3个回答 推荐于2017-09-16
删除字串符的空格。如
dim word as string=" abc"
trim(word)
word="abc"
第4个回答 2012-05-31
Trim()
FUNCTION: 去掉字符串左右的空格.
SYNTAX: Trim(string)
ARGUMENTS: string is any valid string expression.
EXAMPLE: <%
strTest = " This is a test!! "
response.write Trim(strTest)
%>
RESULT: This is a test!!