InstrRev Function With Reverse Count Option
Version Compatibility: Visual Basic 6, Visual Basic 5
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
Instructions: Copy the declarations and code below and paste directly into your VB project.