Navigation:  Reference > Functions >

Soundex()

Print this Topic Previous pageReturn to chapter overviewNext page

 

SNDX(1)

 

PURPOSE

This function returns a 4 character value representing the sound of the field.  These values can be used in comparing fields (see the DIFF() function also).

 

PARTS

1 f/c/eRequired - The A type field to be converted.  The original value is unchanged.

 

RETURN TYPE - A

A 4 character string is returned.

 

EXAMPLE

define x type a size 4

x = SNDX('translate')

// x = 'T652'

x = SNDX('trnslt')

// x = 'T652'

x = SNDX('John')

// x = 'J500'

x = SNDX('Paul')

// x = 'P400'

 

 


Page url: http://www.cassoftware.com/tas/manual/soundex().htm