# Select Text

> Kalipso Studio 6.1 documentation · https://doc.sysdevmobile.com/kalipso/6.1/documentation/actions/group-controls/select-text
>
> Selects a range of characters in an input box by begin and end position, with examples of selecting all or part of the text.

Select a set of characters on a specified input box.

Action available for the following operating systems:

![OS Supported: Android, iOS, Win, Win32](https://doc.sysdevmobile.com/kalipso/assets/images/01_Supported_OS-5c02a51fd5080a410a07ee3ef72b6872.png)

### 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").

:::info
If _Begin_ parameter is 0 and _End_ is -1, all the text in the input control is selected.
:::

:::info
If _Begin_ is -1, any current selection is removed.
:::
