VeloDB Cloud
SQL Manual
Functions
string-functions
strright

strright

Description

Syntax:

VARCHAR strright (VARCHAR str, INT len)

This function returns the right part of the specified length of a string. length is a UTF8 character.

Example

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

Keywords

STRRIGHT