Top  | Previous | Next

Strings / right

right(string, charCount)

Returns count characters from the right side of string, where count and string are the arguments to the function.

 

right("hello", 2)

...returns "lo"

 

right("filename.pdf", 3)

...returns "pdf"

 

right("hello", 0)

...returns ""