Arguments
str
required
The key to search in.
0 | 1
required
The key to store the result of the operation in.
int
The index to start searching at.
int
The index to stop searching at.
Response
The index of the first occurence of the bit in the string.
Find the position of the first set or clear bit (bit with a value of 1 or 0) in a Redis string key.