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

333 B

left

Description

Syntax

'VARCHAR left (VARCHAR str)'

It returns the left part of a string of specified length

example

mysql> select left("Hello doris",5);
+------------------------+
left ('Hello doris', 5)'1244;
+------------------------+
| Hello                  |
+------------------------+

##keyword LEFT