Hi, Anybody know of a function that can remove (normalize) a string by remove all beginning and ending whitespace as well as replace all repeated spaces with a single space. A bonus would be to remove tabs and newlines chars as well, but that is not so important.
Example: Before: " This is what it should look like. " After: "This is what it should look like." Any ideas? I see JavaScript has such a build-in function called -- There's no place like 127.0.0.1
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal