Name

length() — Return the number of characters in a string

Common Usage

length( data )

Description

The length() function returns an integer value indicating the length of its parameter. If data is a text value, the number of characters is returned, regardless of encoding. If data is a BLOB value, the number of bytes in the BLOB are returned. If data is NULL, a NULL is returned. Numeric types are first converted to a text value.