How to make a soundex method in

I am working with a table in my database where I am looking through
every record to see if it matches with every other record in that same
table to see if its a soundex match or not

I want to define a method where I can call it as a true or false
statement like:

onerecord.soundex(otherrecord) = true or false and be able to run the
code below based on if its true or false

http://snippets.dzone.com/posts/show/4530


Ryan B.
Freelancer

Also… Soundex - Wikipedia is helpful.

Ryan B.
Freelancer