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