# P_strstr
## Syntax:
@strstr**({text}, {pattern})**
## Use Case:
Finds the first 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 {@strstr(MudBringer, Flinger)}**
    (Outputs '3')
## See Also:
@strstrrev