Returns the number of characters in a string field.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
as | string | false | _length | Name of output field. |
field | string | true | The name of the input field to length. [a] | |
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")