# Encode

> Kalipso Studio 6.1 documentation · https://doc.sysdevmobile.com/kalipso/6.1/documentation/expressions/functions/string-functions/encode
>
> Encode converts the non-printable characters of a string into their ASCII codes in the <N> format.

This Function returns a \<string>, which is the specified _Value_ with all the non printable chars converted to their corresponding ASCII value, between "<" and ">".

### Parameters

* **Value** <_string_> - String to encode.<br>

### Examples

* _Example 1_

Encode("Kalipsoisgreat.")\
**Result** = Kalipso<3>is<8>great.

* _Example 2_

Encode("Kalipsoisgreat.")\
**Result** = Kalipso<0>is<0>great.

:::info
If **Value** contains "<0>", the returned value is truncated to the first occurrence of "<0>".
:::
