Findstring from the End
Posted: Thu Feb 13, 2014 11:55 am
Hello
It's a very little bit request, but i use all the time StringField and find she is a little bit restrited in the parameter.
It's cool, now there are the #PB_String_CaseSensitive adding
But a reverse research, with a negative start position, will be very usefull, i found.
I use it often for parsing HTML code

It's a very little bit request, but i use all the time StringField and find she is a little bit restrited in the parameter.
It's cool, now there are the #PB_String_CaseSensitive adding

But a reverse research, with a negative start position, will be very usefull, i found.
I use it often for parsing HTML code

Code: Select all
a$ = "Hello i'm KCC for ever"
Debug "Found the letter "o", start to 3e character from the begining = " + FindString(a$, "o", 1)
Debug "Found the letter "o", start to 3e character from the end = " + FindString(a$, "o", -1)
Thanksdebugger wrote:Found the letter "o", start to 3e character from the begining = 5
Found the letter "o", start to 3e character from the end = 16
