RIGHT - get right most characters from a string

The format for RIGHT is RIGHT(<string attribute or variable>, number of characters).

For  example, let’s say the audience has an identity number in the format “AF-1234-GB” where the last two characters identify their country (ie. GB = Great Britain, ES = Spain etc). If the identity number is stored in an audience attribute, id_number then to get the country code the function would be |RIGHT(audience.sender.id_number,2) |

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request