length

Returns the number of characters in "string_expression", excluding trailing blanks and the string termination character.

Syntax

length ( string_expression )