len function

CityEngine 2024.1    |    |  

Syntax

  • float len(inputString)

Parameters

  1. inputStringstring

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