# 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://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2Fs6YtO42h8mZyAUBrr3qx%2FProperties.png?alt=media)

## Example

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

![1-output](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2F0ZMdkUx7dlduLtquORjs%2F1%20output.png?alt=media)

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

![dataflow](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2F6f15M7nbwTQPI2yRxfwt%2Fdataflow.png?alt=media)

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

![2-output](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FJ5oMocOI58YjYW0NoK1S%2F2%20output.png?alt=media)
