Returns an integer that is the number of characters in a string
Supported Platforms: Windows, Mac OS, and Web
(strlen [str ...])
Type: String
A textual value.
Type: Integer
A numeric value. If multiple str arguments are provided, strlen returns the sum of the lengths of all arguments. If you omit the arguments or enter an empty string, strlen returns 0.
Releases:
AutoCAD 2021
(strlen "abcd") 4 (strlen "ab") 2 (strlen "one" "two" "four") 10 (strlen "中") 1 (strlen "测试") 2 (strlen) 0 (strlen "") 0