[Vb.net] For each in a single line

Posts 1–2 of 2 · Page 1 of 1
[Vb.net] For each in a single line
I need help on retrieving some information for a single line in textbox1.

If textbox1.text is
Code:
[1]hi[1]how are you[1]
How can you count how many "[1]" you have in the line.
So in this case you have 3.
I wrote a tutorial on String manipulation, it should be in the tutorials sticky in this section, feel free to check it out, it will help you easily understand the concept of manipulating a string and finding specific words, spaces, etc etc.
Posts 1–2 of 2 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?