Find (in reversed order) a sub-string within the specified source string, optionally starting by a specific index.
Syntax |
strFindRev(string source, string tofind, int index=-1, bool cs=true): int |
---|---|
source |
Source string |
tofind |
Text to find |
index |
Starting index (-1=last, -2=next to last, etc) |
cs |
Case sensitive search flag |
Result |
Returns index of first occurrence (in reversed order) of tofind, or -1 if could not be found. |