right
The right function extracts a specified number of characters from the right side of a string variable or field.
Syntax
Use this syntax:
string_variable = right(string_variable,num_char)
where: num_char = integer variable
Example
An example of this function follows:
string [25]name;
string [10]temp_variable;
name = "Acme Shipping Company"
temp_variable = right(name,7);
// "temp_variable" would contain "Company"