strlength(string)

参数:

string, 字符串

作用:

返回字符串的长度,其中的非数字与字母均被认为是2个长度。

{$=strlength("1abc")}
返回值:4