# 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://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/FCiLJFwE4zFP1plQfnii/Properties.png)

## Example

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

![1-output](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/P3jSbpVPUdyhBxwgZZTw/1%20output.png)

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

![dataflow](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/ShOVgv9wsbeRwMuCOz8w/dataflow.png)

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

![2-output](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/OSeZDIxkFaCn7daBcZx4/2%20output.png)
