LENGTH

Use LENGTH to return the length, or size, of a string expression. The value excludes trailing spaces. An empty string returns 0 length.

Syntax

LENGTH(string_expression)