Best way of searching for tags in a long piece of text?
Hello,
I'm searching through a long piece of text and looking for a certain tag each time, at the moment I'm adding each character from the stream onto a string and looking at the end of the string to see if it is what I'm looking for, unfortunately this is very slow.
What other better methods are there that could speed up this process?
Thanks

