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

360 B

right

Description

Syntax

'VARCHAR RIGHT (VARCHAR STR)'

It returns the right part of a string of specified length

example

mysql> select right("Hello doris",5);
+-------------------------+
Right ('Hello doris', 5)'1244;
+-------------------------+
1.2.2.2.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.
+-------------------------+

##keyword RIGHT