Function soundex::american_soundex [] [src]

pub fn american_soundex(s: &str) -> String

Performs Soundex calculation on a string passed in

Examples

use soundex;
let code: String = soundex::american_soundex("Sirname");
assert_eq!(&code, "S655");