ee.String.length

Returns the length of a string.
UsageReturns
String.length()Integer
ArgumentTypeDetails
this: stringStringThe string from which to get the length.

Examples

Code Editor (JavaScript)

print(ee.String('').length());  // 0
print(ee.String('abc123').length());  // 6