NextGen Knowledge Center

RIGHT String Function

Use:Extracts the specified rightmost characters in a character string
Syntax:
{RIGHT( «string» , «num» )}
Arguments:

«string»
    Character string to be evaluated
«num»
    Number of characters from the right to return
Returns:The specified number of characters on the right in the character string
Example:

Field = txt_field
{template_name_.txt_field} = John Shaw
{RIGHT( {template_name_.txt_field}, 4 )}

Result: Shaw