findItemThatEndsWith

fnint findItemThatEndsWith(IStr[] items, IStr end)

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