VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

ConvertToSoundex

Darrell Sparti, MCSD  (2 Submissions)   String Manipulation   Visual Basic 3.0   Unknown Difficulty   Wed 3rd February 2021

Converts a name or word string to a four digit code following Soundex rules.
Similar code is used by geniological groups and the US Census Bureau for
looking up names by phonetic sound. For example, the name Darrell can
be spelled many different ways. Regardles of how you spell it, (Daryl, Derrel,
Darel, etc.) the Soundex code is always D640. Therefore, you assign a field
in your database to the Soundex code and then query the database using
the code, all instances of Darrell regarless of spelling will be returned. Refer
to the code comment section for more information.

Inputs
A single name or word string.

Returns
A four digit alphanumeric Soundex code.

Side Effects
This code has not been commercially tested.

API Declarations

Rate ConvertToSoundex (5(5 Vote))
ConvertToSoundex.bas

ConvertToSoundex Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters