# RIGHT

#### Syntax <a href="#syntax.43" id="syntax.43"></a>

**RIGHT**(*text; numChars*)

* *text* - the text from which the right part should be extracted - ***Value type**: text*
* *numChars* - the number of characters which should be returned - ***Value type**: integer*

#### Remarks <a href="#remarks.33" id="remarks.33"></a>

* If *numChars* is < 1, an empty text is returned.
* If *numChars* is equal or greater than the length of *text*, the whole text is returned.

#### Examples

<figure><img src="/files/ICa2xvoMuvl0E1fRn6L7" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/KiOSp5TVphZS3Fzizwhb" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nedyx.com/version-1.52-preview/clearlines-functions/text-functions/right.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
