@Slin
I think this is the same problem i actually have
But in fact, if i've alredy developed such a function by myself, I will remember and going to use it instead of re-writing it ^^
Btw.: I've insert it into the Wiki.
@Pappenheimer
Yeah, it's actually cool when you want to replace ' by \' or something like this (for database queries, as an example).
I really love such functions (especially when I'm working in php - there are hundreds of great functions already existing) and because of this I decided to write (just a few, of course ^^) under lite-c (which is not that hard since it is very easy for me as a c++ programmer ^^)
Regards
TSGames