FindString() can also search backwards

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Marlin
Enthusiast
Enthusiast
Posts: 406
Joined: Sun Sep 17, 2006 1:24 pm
Location: Germany

FindString() can also search backwards

Post by Marlin »

Giving FindString a negative StartPosition makes it search backwards.

StartPosition -1 -> search backwards starting from the last character in the string.

StartPosition -2 -> search backwards starting from the next to last character in the sting.
...
Post Reply