# Right - script and chart function

Right() returns a string consisting of the of the last (right-most) characters of the input string, where the number of characters is determined by the second argument.

Syntax:

Right(text, count)

Return data type: string

Arguments:

Right arguments

| Argument | Description |
| --- | --- |
| text | The original string. |
| count | Defines the number of characters to be included from the right-hand part of the string text. |

Examples and results:

Examples and results

| Example | Result |
| --- | --- |
| `Right('abcdef', 3)` | Returns 'def' |