> ## Documentation Index
> Fetch the complete documentation index at: /documents/llms.txt
> Use this file to discover all available pages before exploring further.

# character_length

> char_length() 函数的别名，返回字符串的字符数。

返回字符串的长度。

该函数为 char\_length() 函数的别名，请参考 [char\_length](/documents/cn/4.2/sql-reference/sql-functions/string-functions/char_length.md)。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.