public static bool op_SoundsLike(string left, string right) { if (left == null || right == null) { return(false); } return(Soundex.GetCode(left) == Soundex.GetCode(right)); }
public static string GetSoundexCode(string text) { if (text == null) { return(null); } try { return(Soundex.GetCode(text)); } catch (Exception ex) { throw ExceptionBuilder.RuntimeError(ex); } }