# ToProper(String str)

| Name                     | *ToProper*                                                                                   |
| ------------------------ | -------------------------------------------------------------------------------------------- |
| Applicable To (DataType) | String                                                                                       |
| Purpose                  | To convert the information in the data field to proper case.                                 |
| Description              | Converts the string argument into proper case by capitalizing the first letter of each word. |
| Return Type              | String                                                                                       |
| Syntax                   | str \[System.String] – string which will be converted.                                       |

![fxPicture](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/nbgk6xxXxr9Mu8cBYoUe/fxPicture.png)

## Example

We have a customers data in which we want to convert the *Address* information into proper case.

![beforeFx](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/JeIqcjAvHr6ivVoJN3Xl/beforeFx.png)

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

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

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

![afterFx](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/gIzCzzTySoxEPw43qMPy/afterFx.png)
