RIGHTedit

RIGHT(string,length)

Return the substring that extracts length chars from the string starting from the right.

FROM employees
| KEEP last_name
| EVAL right = RIGHT(last_name, 3)
| SORT last_name ASC
| LIMIT 5
last_name:keyword right:keyword

Awdeh

deh

Azuma

uma

Baek

aek

Bamford

ord

Bernatsky

sky

Supported types:

string length result

keyword

integer

keyword