Navigation:  Reference > Functions >

CompareStrings()

Print this Topic Previous pageReturn to chapter overviewNext page

 

DIFF(1,2)

 

PURPOSE

Using a process similar to the SNDX() function, this function will return a value that can be used to determine how close the two values sound.

 

PARTS

 

1 f/c/eRequired - Comparison value 1.  Must be type A.

 

2 f/c/eRequired - Comparison value 2.  Must be type A.

 

RETURN TYPE - I

The return value is from 0 through 4.  0 is no match at all; 4 is a very close match.

 

EXAMPLE

define x type i

x = DIFF('translate','trnslt')

// x = 4

x = DIFF('John','Paul')

// x = 0

 

 


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