Syntax
- float len(string inputstring)
Returns
Length of inputstring.
Description
The len function returns the number of characters of the inputString.
Related
Examples
example.1
len("cityengine")
# result = 10
example.2
len("abc")
# result = 3
Length of inputstring.
The len function returns the number of characters of the inputString.
example.1
len("cityengine")
# result = 10
example.2
len("abc")
# result = 3