StringLen() 函数
- Last UpdatedJan 15, 2020
- 1 minute read
返回指定字符串(包括不可见字符)的长度。
语法
result = StringLen (string)
参数
string
字符串、消息标记名或字符串表达式。
示例
StringLen("Twelve percent") 返回 14。
StringLen("12%") 返回 3。
StringLen("The end."+ StringChar(13)) 返回 9。
返回指定字符串(包括不可见字符)的长度。
result = StringLen (string)
string
字符串、消息标记名或字符串表达式。
StringLen("Twelve percent") 返回 14。
StringLen("12%") 返回 3。
StringLen("The end."+ StringChar(13)) 返回 9。