findItem

fnint findItem(IStr[] items, IStr item) @safe nothrow @nogc

Finds the first occurrence of the specified item in the slice, or returns -1 if not found.

fnint findItem(IStr[] items, char item) @safe nothrow @nogc

Finds the first occurrence of the specified item in the slice, or returns -1 if not found.