Computes the number of characters in a string field.

ParameterTypeRequiredDefault ValueDescription
asstringoptional[a]_length Name of output field.
field[b]stringrequired  The name of the input field to length.

[a] Optional parameters use their default value unless explicitly set.

[b] The argument name field can be omitted.

Hide omitted argument names for this function

Show omitted argument names for this function

length() Examples

The number of characters in the @rawstring field:

logscale
length(@rawstring)

The number of characters in the @rawstring field, putting it in the field rawLength:

logscale
length(@rawstring, as="rawLength")