1.1 KiB
1.1 KiB
strleft
Description
Syntax
'VARCHAR STRAIGHT (VARCHAR STR)'
It returns the left part of a string of specified length
example
mysql> select strleft("Hello doris",5);
+------------------------+
| strleft('Hello doris', 5) |
+------------------------+
| Hello |
+------------------------+
##keyword STRLEFT