Yes, I agree, that's a nice piece of work Zvoni, I am already thinking where I can use that particular trick.
But what about the reverse ? Imagine a text 'document' that contains lots of LF,CR characters in Windows style, and converting that to Unix single char model. Does FPC adjust the memory allocation for every delete() ? I do something like that and am not aware that its particularly slow.
Davo