# Left

> Kalipso Studio 6.1 documentation · https://doc.sysdevmobile.com/kalipso/6.1/documentation/expressions/functions/string-functions/left
>
> Left returns the given number of characters from the left of a string, or the whole string if the length is larger.

This Function returns a _\<string>_, composed by the **Length** chars at left of the **Source string**.

### Parameters

* **Source string** _\<string> -_ String from where the value will be retrieved.
* **Length** _\<numeric_> - Length of the left part of **Source string** to extract.

### Examples

* _Example 1_

Left("Kalipso is great.", 7)\
**Result** = Kalipso

* _Example 2_

Left("Kalipso is great.", 20)\
**Result** = Kalipso is great.

:::info
If you specify a **Length** higher than the length of **Source String**, the returned value will be the entire **Source String**.
:::
