How can one select a line in Richtextbox and then search of string in it?
I have rtb that loads a code file having functions and subs..
i am trying to search for keyword 'function' ignoring the comment lines.
i am using find method but it returns that keyword in commented lines too.
If i can go line by line then i can look whether the current line is comment or not using instr function..
dont know how to navigate line by line... if someone can write a piece of code that does that- it would be great!!
thanks in advance
I have rtb that loads a code file having functions and subs..
i am trying to search for keyword 'function' ignoring the comment lines.
i am using find method but it returns that keyword in commented lines too.
If i can go line by line then i can look whether the current line is comment or not using instr function..
dont know how to navigate line by line... if someone can write a piece of code that does that- it would be great!!
thanks in advance