Loading TOC...

xdmp:hash32

xdmp:hash32(
   $string as xs:string
) as xs:unsignedInt

Summary

Returns the 32-bit hash of a string.

Parameters
string The string to be hashed.

Example

xdmp:hash32("/a/b[1]/c")
=> 152930691

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.