Stata 15 help for soundex

[FN] String functions

Function

soundex(s) Description: the soundex code for a string, s

The soundex code consists of a letter followed by three numbers: the letter is the first ASCII letter of the name and the numbers encode the remaining consonants. Similar sounding consonants are encoded by the same number. Unicode characters beyond the plain ASCII range are ignored.

soundex("Ashcraft") = "A226" soundex("Robert") = "R163" soundex("Rupert") = "R163" Domain s: strings Range: strings

soundex_nara(s) Description: the U.S. Census soundex code for a string, s

The soundex code consists of a letter followed by three numbers: the letter is the first ASCII letter of the name and the numbers encode the remaining consonants. Similar sounding consonants are encoded by the same number. Unicode characters beyond the plain ASCII range are ignored.

soundex_nara("Ashcraft") = "A261" Domain s: strings Range: strings


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index