--- title: "right" description: "Returns count number of characters starting from the right side of string, where count and string are the arguments to the function." --- # right > Returns count number of characters starting from the right side of string, where count and string are the arguments to the function. **This function is used by Ignition's Expression language.** ## Description ## Syntax `right(string, charCount)` - Parameters - string **string** - The starting string. - string **charCount** - The number of characters to return. - Results - string - A string of the number of characters specified in the charCount from the specified string. ## Examples ```python title="Code Snippet" right("hello", 2) //returns "lo" ``` ```python title="Code Snippet" right("filename.pdf", 3) //returns "pdf" ``` ```python title="Code Snippet" right("hello", 0) //returns "" ```