I need a sub that can find a string in a rich textbox...
I can find a string with the function .find but i need to focus the other string with that name...
EX: Hi lol hi hi
i need to find the first hi, but if i want i need to find the second hi, but i don't know how i can do it....
[sry 4 my english]
Find a string
Page 1 of 11 Replies - 482 Views - Last Post: 27 January 2009 - 09:41 AM
Replies To: Find a string
#2
Re: Find a string
Posted 27 January 2009 - 09:41 AM
You will need to parse through the string in the RichTextBox and store the position of the found word in a variable. When you start the next search you will have to start it from the position, next to the one of the previously found word.
Dream.In.Code forum rules state that you should show some effort in solving your problem. Please, post the code you've been working so far. Post the code between code tags:
Thank you!
Dream.In.Code forum rules state that you should show some effort in solving your problem. Please, post the code you've been working so far. Post the code between code tags:
Thank you!
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote




|