Byte_Search module

find_any

procedure · 2 overloadsSource

The first of either byte at or after start, or -1.

find_any :: (text: string, a: u8, b: u8, start := 0) -> int

The first of either byte at or after start, or -1.

Parameters

text: string
a: u8
b: u8
start := 0

Returns

int
find_any :: (text: string, a: u8, b: u8, c: u8, start := 0) -> int

The first of any of the three bytes at or after start, or -1.

Parameters

text: string
a: u8
b: u8
c: u8
start := 0

Returns

int

See also