LENGTH
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Returns the string length of the value of the given character expression.
Syntax
|
Notes
- The
argument to the function must be of type
CHARACTERorVARCHAR. - The result is of type
INTEGER. - If the argument expression evaluates to NULL, the result is
NULL. - char_expression can contain multi‑byte characters. The function returns a number of characters.
Example
This
example illustrates the LENGTH function:
|
Compatibility
ODBC compatible