# 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 %}


---

# 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://docs.kognitos.com/legacy/legacy-experience/automation-areas/text/conversions/get-titlecase-text.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.
