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