Categories: String
CHAR_LENGTH
Returns the character length of the input string
Syntax
CHAR_LENGTH(expression STRING) → INTEGER
- expression: The expression (VARCHAR) to determine character length for
Examples
CHAR_LENGTH exampleSELECT CHAR_LENGTH('get the char length')
-- 19
SELECT CHAR_LENGTH('DREMIO')
-- 6
Was this page helpful?
Glad to hear it! Thank you for your feedback.
Sorry to hear that. Thank you for your feedback.