Wilbert, your example crashes when used with ReplaceString, so it's probably
best to just wait until v4.00 when PureBasic will support unlimited strings, or
at least avoid using ReplaceString. However, I found that when using strings
larger than 63999 bytes that my app kept crashing at random times, so I've
avoided a tip similar to yours as a result. Wait for the official fix.
Inserting text in strings
viewtopic.php?t=9194Dare2 wrote:hehe.
There is a thread here somewhere where large strings were discussed. (I can't find the thread now so maybe it was in th bugs area and dopped or maybe I am searching badly - but I remember seeing it)
From recollection (vague) the conclusion was that very large strings give the illusion of being OK, but cause probs down the track. There was also some sort of work-around which was hotly argued.