SQL
Bitstring Functions
<div class="nostroke_table"></div>  
|   |   |
|:--|:--------|
| **Description** |Returns first starting index of the specified substring within bits, or zero if it's not present. The first (leftmost) bit is indexed 1 |
| **Example** | `bit_position('010'::BITSTRING, '1110101'::BITSTRING)` |
| **Result** | `4` |