# Proper (String str)

| Name                     | *Proper*                                                                    |
| ------------------------ | --------------------------------------------------------------------------- |
| Applicable To (DataType) | String                                                                      |
| Purpose                  | To capitalize the first letter of each word in a string.                    |
| Description              | Capitalizes the first letter of each word and returns the resulting string. |
| Return Type              | String                                                                      |
| Syntax                   | str \[System.String] – string to convert                                    |

![Properties](https://github.com/astera-software/Astera_Data_Stack_v9/blob/main/.gitbook/assets/Properties%20\(1\).png)

## Example

We have a customers' dataset in which we want to convert the *ContactTitle* field into proper case.

![1-output](https://github.com/astera-software/Astera_Data_Stack_v9/blob/main/.gitbook/assets/1%20output.png)

We will map the *ContactTitle* data field to the str under the Input node inside the function transformation object.

![dataflow](https://github.com/astera-software/Astera_Data_Stack_v9/blob/main/.gitbook/assets/dataflow%20\(9\).png)

You can see that the data inside the *ContactTitle* data field has been converted to proper case.

![2-output](https://github.com/astera-software/Astera_Data_Stack_v9/blob/main/.gitbook/assets/2%20output.png)


---

# 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://documentation.astera.com/astera-data-stack-v8/functions/string/proper-string-str.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.
