strleft
Description
Syntax
VARCHAR STRLEFT (VARCHAR str, INT len)
It returns the left part of a string of specified length, length is char length not the byte size. Another alias for this function is left.
example
1. mysql> select strleft("Hello doris",5);
2. +------------------------+
3. | strleft('Hello doris', 5) |
4. +------------------------+
5. | Hello |
6. +------------------------+
keywords
1. STRLEFT
