strleft
description
Syntax
VARCHAR strleft(VARCHAR str)
它返回具有指定长度的字符串的左边部分,长度的单位为utf8字符
example
mysql> select strleft("Hello doris",5);
+------------------------+
| strleft('Hello doris', 5) |
+------------------------+
| Hello |
+------------------------+
keywords
STRLEFT