- Index
- »
- axon
- »
- func:indexr
def
func:indexr
indexr(val, x, offset: Number.negOne)
Return the last match of x
in val
searching backward, starting at the specified offset index. A negative offset may be used to access from the end of string. Return null if no occurences are found:
- if
val
is Str, thenx
is substring. - if
val
is List, thenx
is item to search.