# URLEncode

This Function encodes a specified string into a URL encoded string.

### Parameters

* **Value** *\<string> -* The string to encode.

{% hint style="info" %}
The result can be slightly different in different platforms, but it will always represent a valid URL Encoded String. For example in Windows a space will normally be encoded into %20 and in Android into +. Both %20 and + are valid encodings for the space character.
{% endhint %}

### Examples

* *Example 1*

URLEncode("SYSDEV\&Kalipso Designer")\
**Result** = SYSDEV%26Kalipso%20Designer


---

# 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://doc.sysdevmobile.com/kalipso5/developing/form/expressions/functions/functions-descriptions/string-functions/urlencode.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.
