Numbers & math
Scalar
bit_position()
Returns first starting index of the specified substring within bits, or zero if it is not present. The first (leftmost) bit is indexed 1
Arguments & returns
bit_position(substring, bitstring)
Scalar
| Overload link | substring | bitstring |
Returns |
|---|---|---|---|
| #01 | BIT | BIT |
INTEGER |
Example
Haybarn WASM 1.5.5-rc3 · In your browser
Engine example · Run to view results.