Arguments

key
str
required

The key to search in.

bit
0 | 1
required

The key to store the result of the operation in.

start
int

The index to start searching at.

end
int

The index to stop searching at.

Response

The index of the first occurence of the bit in the string.