Finding word in textbox
-
How to find a word in textbox? thx
nemanja
-
How to find a word in textbox? thx
nemanja
textbox1.Text gives you the text, the string class contains methods for finding text within strings.
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
-
textbox1.Text gives you the text, the string class contains methods for finding text within strings.
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
Can you write me some example plz! thx
nemanja
-
Can you write me some example plz! thx
nemanja
When people ask trivial questions, that google could answer in seconds, I tend to provide some keywords, because it's really important for someone who wants to be a developer, to be able to do some research for themselves. Given what I told you, intellisense should be all you need to solve the problem. The methods that search for the index of a substring, return -1 if they don't find it.
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
-
How to find a word in textbox? thx
nemanja
if you want to implement some search functionality, defintely there must be some buch of text that will occupy the controll. right.. then go for richtextbox instead of textbox. That is having inbuilt function for "find" This is my suggestion.. otherwise you hav to implement the logic to do so.