reverse-find-substring( a, b [,c])
Group |
Returns the position of the last occurrence of b in a. If parameter c is set (starting with 1), the search for b will start at that position going to the left. If c is not specified, the search will start at the end of the text.
Description of Parameters
Parameter |
Description |
a |
Value. |
b |
Search text. |
c |
Start position. |
Examples
Parameter a |
Parameter b |
Parameter c |
Result |
abcabc |
c |
6 |
|
abcabc |
c |
5 |
3 |
abcabc |
c |
2 |
0 |