The instr method can be used to find the first occurrence of a string. Is it possible to find the second occurrence of a string?
For example:
How is the best way to find the position of the second " ". The empty string between the "Sub" and the "FormListOfScheduleLists_Load". I can split the string using the " " as a parameter, but is there a way to do this using the instr method, or equivalent?
For example:
Code:
Private Sub FormListOfScheduleLists_Load(sender As Object, e As EventArgs) Handles MyBase.Load