str = "abcdeabcde"
MsgBox InStr(str, "e") ' search from start, will return 5
MsgBox InStrrev(str, "e") ' search from end, , will return 10
...
MsgBox InStr(str, "e") ' search from start, will return 5
MsgBox InStrrev(str, "e") ' search from end, , will return 10
...
No comments:
Post a Comment