Skip to main content
This function returns the length of a string. For multi-byte characters, it returns the number of characters. It currently only supports utf8 coding. Note: This function is also named as character_length.

Syntax

Examples

Text

keyword

CHAR_LENGTH, CHARACTER_LENGTH