search ( seq obj -- i/f )


Vocabulary
boyer-moore

Inputs
seqa sequence
objan object


Outputs
i/fthe index of first match or f


Word description
A simpler variant of search-from that starts searching from the beginning of the sequence.

Examples
USING: boyer-moore prettyprint ; "Source string" "ce st" search .
4


Definition