Jump to content
YOUR-AD-HERE
HOSTING
TOOLS
992Proxy

Locked InstrRev Function With Reverse Count Option


Kaway

Recommended Posts

[HIDE-THANKS]This is an InStrRev function that can be used in VB5 or VB6. It enhances the VB6 InStrRev function in that, if you set the fourth parameter to true, it will return the the position of the last occurrence of the substring relative to the end of the string as opposed to the beginning, e.g.,

l = InStrRev("Hello", "o", , True)

 

returns 1, whereas VB6's InstrRev function would return 5 if "o" is passed as the substring and Hello is passed as the search string. l = InStrRev

 

This is the hidden content, please

[/HIDE-THANKS]

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.