The function @rinstr does not work as described in the help documentation which says:
Proof:Starting at the end of the string and searching in reverse, finds the starting position of the target string str2 in the string str1. By default, the function returns the location of the last (first from the end) instance of str2 in str1, but you may provide the optional integer n to change the occurrence.
Code: Select all
!i=@rinstr("987654321", "8")
Stautsline !i
' gives !i=2, rather than !i=8
