Description Usage Arguments Details Value Author(s) Examples
Calculate the Soundex difference for two strings str_1
and str_2
1 | soundex_difference(str_1, str_2, algorithm = soundex_algorithm("en"))
|
str_1 |
first string for calculating the distance |
str_2 |
second string for calculating the distance |
algorithm |
object with the soundex algorithm |
The returned value is the number of characters in the Soundex values that are the same. The return value ranges from 0 through 4: 0 indicates weak or no similarity, and 4 indicates strong similarity or the same values.
an integer that indicates the difference between the Soundex codes
Daniel Rodriguez Perez
1 | soundex_difference('saturday', 'sunday')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.