findItemThatEndsWith

fnint findItemThatEndsWith(IStr[] items, IStr end) @safe nothrow @nogc

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

fnint findItemThatEndsWith(IStr[] items, char end) @safe nothrow @nogc

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