| Function group | Execute on client | Platform(s) |
| Binary field | NO | All |
bitmid(binary,firstbitnumber,lastbitnumber)
Returns a binary value identified as a range of bits of a binary field, that is, bitmid() extracts the bits with numbers >=firstBitNumber and <=lastBitNumber.
In the following example, bit lFirstBitNumber of lBinary1 becomes bit zero of lBinary2, and so on.
CalculatelBinary2asbitmid(lBinary1,lFirstBitNumber,lLastBitNumber)