len(string) 返回字符串的长度.len(text1.text)
是想排除空格呢还可以 trim(text1.text)len(trim(text1.text))= 这样可以排除首尾的空格LTrim(string)RTrim(string)Trim(string)
len(text1.text)返回字符串的长度
if len(text1.text)>0 then