Trim(字符串)比方说:a = " abc123 " '这个字符串a的前后都是有空格的a = Trim(a) '经过这样处理后前后的空格就没了
trim()是去除字符串头或尾部的空格,但不包含中间的空格。如: trim(" hello world ")= "hello world"
trim(text1.text)