mail@seamons.com wrote: > Most likely wanted a g on that - or else you could end up with an infinite > loop depending upon your swap. Nope, I don't think so. $text is being munged each time around until it shrinks to zero length and drops out the bottom of the while loop. Or have I missed something? Cheers A