# Soundex

| **Name**    | ***Soundex***                                                                                                                             |
| ----------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| Syntax      | Soundex (String str)                                                                                                                      |
| Purpose     | To return Soundex value.                                                                                                                  |
| Description | Returns Soundex value for the given string. Soundex is a phonetic algorithm used for indexing words based on their English pronunciation. |
| Return Type | String                                                                                                                                    |
| Parameters  | str \[System.String] – String for which Soundex is returned.                                                                              |

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

**Example**

In this example, we are passing a string value to the function transformation object using a *Variables* object.

Where,

*str =* Hello World

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

In the output window, you can see that the Soundex value of the specified string has been returned.

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