You are viewing content for 5.1 | 5.0 | 4.9 | 4.8 | 4.7 | 4.6 | 4.5 | 4.4 | 4.3 | Previous Releases


length

Returns the length of a string.

Example

Find the length of the string “San Mateo”.

length("San Mateo")

In this example, length returns 9.

Syntax

length(string expr str)

Parameters

  • str : expression evaluating to string

Returns

int

Description

length returns the length of its string argument, including spaces.

© Incorta, Inc. All Rights Reserved.