Files
doris/docs/documentation/en/sql-reference/sql-functions/string-functions/right_EN.md

1.1 KiB

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) |
+-------------------------+
| doris                   |
+-------------------------+

##keyword RIGHT