[RESOLVED] Searching for an item in an array and going to it
Hey all!
I was wondering if there was a code for searching for an item in an array. For example.. In a textbox it says 80 numbers:
1
2
3
4
5
6
7
8
9
10
22
66
68
etc..
Now when you click a button it finds 22 and then highlights it. It also goes to it. Like.. If there is a scrollbar it also adjusts it so you can actually see the 22. Yea.. If anyone knows please don't hesitate to answer! :wave:
Re: Searching for an item in an array and going to it
try TextBox1.Text.IndexOf("22")
Re: Searching for an item in an array and going to it