I have something like this, inside a loop:
Expand|Select|Wrap|Line Numbers
- Dim strContentHolder As String
- Dim strIncomingContent As String
- strContentHolder = strContentHolder + strIncomingContent
As the title says, the strContentHolder that is inside a loop, so the code above will happens a lot of times, like 200x or more... So the memory consumed will be too much, and the error will happen, Out Of String Space.
I tried to download and use csStringBuilder, an implemented class that would work like StringBuilder, but the error still happening. So I'd like to ask you guys, what could I do to work arround this ? I tried to work more than one string, like, strContentHolder2 strContentHolder3 [...]. But it was too much content u.u