String Distance Functions

The following table lists and describes string distance functions in iWay DQS.

String Distance Function

Description

hamming(srcStr1, srcStr2 [, caseInsensitive])

Returns the Hamming distance between strings srcStr1 and srcStr2.

levenshtein(srcStr1, srcStr2 [, maxDistance][, caseInsensitive])

Returns the Levenshtein distance between strings srcStr1 and srcStr2.

editDistance(srcStr1, srcStr2 [, maxDistance] [, caseInsensitive])

Returns the edit distance between strings srcStr1 and srcStr2.

soundex(srcStr)

Returns the soundex value of the srcStr parameter.

doubleMetaphone(srcStr), doubleMetaphone(srcStr, isAlternate)

Encodes srcStr to a double metaphone primary string. Encodes srcStr to a double metaphone secondary string if the parameter isAlternate is TRUE.


iWay Software