powered by
It acts similiarly to Excel's RIGHT function. It takes the string and takes the amount of characters you want to extract from it.
RIGHT(text, num_chars)
from where should it get the characters
how many characters should it get?
In this example we take "Kayakata" and extract 4 characters from the right handside of the string. Functions will always return character class.
# NOT RUN { RIGHT("Kayakata",4) # }
Run the code above in your browser using DataLab