The first byte at or after start, or -1.
find :: (text: string, byte: u8, start := 0) -> int
The first byte at or after start, or -1.
Parameters
- text: string
- byte: u8
- start := 0
Returns
- int
find :: (set: *Byte_Set, text: string, start := 0) -> int
The first byte of the set at or after start, or -1.
Parameters
- set: *Byte_Set
- text: string
- start := 0
Returns
- int
find :: (text: string, needle: string, start := 0) -> int
The first needle at or after start, or -1. An empty needle is found at start.
Parameters
- text: string
- needle: string
- start := 0
Returns
- int
find :: (finder: *Finder, text: string, start := 0) -> int
The first match at or after start, or -1.
Parameters
- finder: *Finder
- text: string
- start := 0
Returns
- int