$FUNCNAME$
  SOUNDEX()
$CATEGORY$
  STRING
$SUMMARY$
   Convert a character string to "soundex" form
$LANG_RU$
        .
$SYNTAX$
     SOUNDEX(<cString>) --> cSoundexString
$LANG_RU$
     SOUNDEX(< >) -->    999
$ARGUMENTS$
     <cString> is the character string to convert.
$LANG_RU$
     < > -  ,  .
$RETURNS$
     SOUNDEX() returns a four-digit character string in the form A999.
$LANG_RU$
     SOUNDEX()       A999
$DESCRIPTION$
     SOUNDEX() is a character function that indexes and searches for sound-
     alike or phonetic matches.  It is used in applications where the precise
     spelling of character keys is not known or where there is a high
     probability of misspelled names.  Misspelling is common in real-time
     transaction systems where the data entry operator is receiving
     information over the telephone.  SOUNDEX() works by bringing
     sound-alikes together under the same key value.  Note, however, the
     soundex method is not absolute.  Keys that are quite different can
     result in the same soundex value.
$LANG_RU$
     SOUNDEX()   ,  
           .
       ,     
            
      .     
          , 
     ,  ,    . SOUNDEX()
             
       .   ,   
       . ,   ,
         .
$EXAMPLES$
       This example builds an index using SOUNDEX() to create the key
	values.  It then searches for a value found in the Salesman field:

	USE Sales
	INDEX ON SOUNDEX(Salesman) TO Salesman
	SEEK SOUNDEX("Smith")
	? FOUND(), Salesman            // Result: .T. Smith

       Here, a search is made for the same key as above but with a
	different spelling:

	SEEK SOUNDEX("Smythe")
	? FOUND(), Salesman            // Result: .T. Smith
$LANG_RU$
            
       SOUNDEX()    .    ,
          Salesman:

       USE Sales
       INDEX ON SOUNDEX(Salesman) TO Salesman
       SEEK SOUNDEX("Smith")
       ? FOUND(), Salesman                // : .T. Smith

            ,   ,
          :

       SEEK SOUNDEX("Smythe")
       ? FOUND(), Salesman                // : .T. Smith
$SEEALSO$

$END$
