Hi!
I have a string with 60000+ characters. I look for informations inside the string in a sequentially order. Every time I found a information I delete whatever is behind that information. In other words I reduce the size of the string every time I find something, and I do this using IndexOf and Remove, much like this:
This can be quite heavy on the processor. So my question is it faster to look the informations using Regex or it would be about the same?vb.net Code:
Str = Str.Remove(0, Str.IndexOf("MyInfo"))


Reply With Quote


