> For the complete documentation index, see [llms.txt](https://doc.sysdevmobile.com/kalipso5/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.sysdevmobile.com/kalipso5/developing/form/actions/actions-description/group-controls/select-text.md).

# Select Text

Select a set of characters on a specified input box.

Action available for the following operating systems:

![](/files/-MAlQBZuuTnc6hyzKSVQ)

### Parameters

* **Control** *\<unquoted string> -* The name of the control.
* **Begin** *\<numeric> -* Defines the begin of the selected text.
* **End** *\<numeric> -* Defines the end of the selected text.

### Usage

Consider that exists an input box named "InputBox" and with the text "kalipso".

#### **Example 1**

```
Select Text(CTRL(InputBox); 0; -1)
```

**Result**: All the text in the input box is selected ("kalipso").

#### **Example 2**

```
Select Text(CTRL(InputBox);0;6)
```

**Result**: The first 6 characters are selected ("kalips").

#### **Example 3**

```
Select Text(CTRL(InputBox);0;3)
```

**Result**: The first 3 characters are selected ("kal").

{% hint style="info" %}
If *Begin* parameter is 0 and *End* is -1, all the text in the input control is selected.
{% endhint %}

{% hint style="info" %}
If *Begin* is -1, any current selection is removed.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://doc.sysdevmobile.com/kalipso5/developing/form/actions/actions-description/group-controls/select-text.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
