MarkLogic 9 Product Documentation
sql:difference

sql:difference(
   $arg as xs:string
) as xs:string

Summary

Returns an integer value that indicates the difference between the SOUNDEX values of two character expressions.

Parameters
arg The string whose difference will be returned.

Example

sql:difference('Green','Greene')
=> 4
Powered by MarkLogic Server | Terms of Use | Privacy Policy