# P_strstrrev
## Syntax:
@strstrrev**({text}, {pattern})**
## Use Case:
Finds the last occurrence of a pattern and returns its index (0-indexed). Returns -1 if not found.
## Arguments:
- **{text}**   : The string to search.
- **{pattern}**: The pattern to look for.
## Examples:
1. **/echo {@strstrrev(Banana, a)}**
    (Outputs '5')
## See Also:
@strstr