--- title: "Examples The following example returns a purely red color:" slug: "right" updated: 2024-04-16T11:16:20Z published: 2024-04-16T11:16:20Z 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)