envzn
0.8 · beta · not released

Library / Core interfaces / Collections and iteration / Searchable

INTERFACE

Searchable

Searchable OF T — contents can be searched for a needle of the same Text kind. find returns the match position; pipe-XOR FAILURE means no match. Implemented by String and StringView — the view holds the one canonical scan, and String forwards through a full-span view.

Methods 1

METHOD find(REFERENCE T needle) RETURNS | int64
reads