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
example.1
len("cityengine")
# result = 10
example.2
len("abc")
# result = 3