# Get Titlecase Text

## Overview

This operation converts a given string to title case, meaning that the first letter of each word in the string is capitalized, while other words remain lowercase.

* "hello world" **→ Hello World**
* "this is a sample text" **→ This Is A Sample Text**

## Syntax

This operation supports two alternative formats.

### Option 1

This syntax uses an explicit **get**.

```
the text is "{input}"
get the text's titlecase
```

### Option 2

```
the text is "{input}"
the text's titlecase
```

## Data

The table below lists the names of the data elements in this operation and indicates which can be renamed in the syntax.

| Data Name | Can Be Renamed |
| --------- | -------------- |
| the text  | Yes            |

## Parameters

| Parameter | Description                                   | Examples                                                    | Required |
| --------- | --------------------------------------------- | ----------------------------------------------------------- | -------- |
| `input`   | The input text to be converted to title case. | <ul><li>hello world</li><li>this is a sample text</li></ul> | Yes      |

## Examples

### 1. Get Article Name in Title Case

{% tabs %}
{% tab title="Automation" %}

```
the article name is "ultimate guide to automation"
get the article name's titlecase
```

{% endtab %}

{% tab title="Results" %}

```
Ultimate Guide To Automation
```

{% endtab %}
{% endtabs %}

### 2. Get Airline in Title Case

{% tabs %}
{% tab title="Automation" %}

```
the airline is "skyswift airways"
the airline's titlecase
```

{% endtab %}

{% tab title="Results" %}

```
Skyswift Airways
```

{% endtab %}
{% endtabs %}
