strright

Description

Syntax

‘VARCHAR strright (VARCHAR str)’

It returns the right part of a string of specified length, length is char length not the byte size.

example

  1. mysql> select strright("Hello doris",5);
  2. +-------------------------+
  3. | strright('Hello doris', 5) |
  4. +-------------------------+
  5. | doris |
  6. +-------------------------+

keyword

STRRIGHT