Function group | Execute on client | Platform(s) |
---|---|---|
Binary Field | NO | All |
binsearch(binary1,binary2[,start-from])
Returns the zero-based position of binary1 in binary2, or returns -1 if not found.
start-from is the zero-based index of the byte in binary2 where the search is to start. If omitted, start-from defaults to zero at the start of binary2.
Calculate lPosition as binsearch(lBinary1,lBinary2,5)