Hello,

Just curious if this can be done. Is there a way to count the number of replaces or finds in a stringbuilder?

Note: I want to avoid having to loop through the file to count them prior to performing the replace. This'll probably be the route I go if it can't be done in Stringbuilder. I'm using VB 2005.

Thanks in advance,

Strick