lastIndexOf

Searches for the last index of the given argument in range.

  1. size_t lastIndexOf(A range, B elem)
    size_t
    lastIndexOf
    (
    A
    B
    )
    (,)
    if ()
  2. size_t lastIndexOf(A range, B subrange)
  3. size_t lastIndexOf(A range)

Parameters

range A

The range to search in.

Return Value

Type: size_t

The last index of the given argument in range or -1 if not found.

Meta