> For the complete documentation index, see [llms.txt](https://docs.nedyx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nedyx.com/version-1.52-preview/clearlines-functions/text-functions/left.md).

# LEFT

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

**LEFT**(*text; numChars*)

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

#### Remarks <a href="#remarks.21" id="remarks.21"></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/g4m7JpbkZJKzej3EfxnY" alt=""><figcaption></figcaption></figure>

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