binary

Binary string search. Input: p . string of characters tab array of pointers to strings n = number of pointers in the array

extern (C++) nothrow
int
binary
(
const(char)* p
,
const(char)** table
,
int high
)

Return Value

Type: int

index (0..n-1) into tab[] if we found a string match else -1

Meta