This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-14. For the latest, interactive version please visit https://mariadb.com/kb/.

CHAR_LENGTH

Syntassi

CHAR_LENGTH(str)

Spiegazione

Restituisce la lunghezza della stringa str, misurata in caratteri. Un carattere multi-byte conta come un singolo carattere. Questo significa che se una stringa contiene cinque caratteri da due byte, LENGTH() restituisce 10, mentre CHAR_LENGTH() restituisce 5.

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.