--- title: "Examples The following example returns a purely red color:" slug: "right" updated: 2025-10-07T09:58:30Z published: 2025-10-07T11:02:35Z canonical: "help.mail-and-deploy.com/right" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.mail-and-deploy.com/llms.txt > Use this file to discover all available pages before exploring further. # Right ### General The Right function can be used to extract right characters from a String. ### Syntax The syntax of the Right function is: Right Function Syntax Right(, ) ### Examples The following Expression returns a String that contains the 4 right characters of the value of variable vTest of a Datasource named Consumer Sales: Right Function Example Right([Datasource].[Consumer Sales].[Variable].[vTest], 4)