[Doc] Add doc link to char_length (#3548)

This commit is contained in:
yangzhg
2020-05-14 21:21:31 +08:00
committed by GitHub
parent 9f224cdd8a
commit 4464328d8f
4 changed files with 6 additions and 4 deletions

View File

@ -31,7 +31,7 @@ under the License.
'INT char_length (VARCHAR str)'
Returns the length of the string and the number of characters returned for multi-byte characters. For example, five two-byte width words return a length of 5, only utf8 encodeing is support at current version.
Returns the length of the string, and the number of characters returned for multi-byte characters. For example, five two-byte width words return a length of 5, only utf8 encoding is support at the current version. `character_length` is the alias for this function.
## example
@ -52,4 +52,4 @@ mysql> select char_length("中国");
+-----------------------+
```
## keyword
CHAR_LENGTH
CHAR_LENGTH, CHARACTER_LENGTH