Files
doris/docs/documentation/en/sql-reference/sql-functions/string-functions/strleft_EN.md
2019-08-30 22:07:24 +08:00

340 B

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);
+------------------------+
(Hello doris', 5)'1244;
+------------------------+
| Hello                  |
+------------------------+

##keyword STRLEFT