You can use a regular expression for that.. However, I don't have that right
"Lee P Reilly" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Can somebody tell me if there is a function that will remove *all*
> whitespace (\n, \r, \t, \w, etc) from a string i.e. from the beginning,
> the end, and the middle?. Something like chop(), trim()?
> e.g. input = " 1 2 3 ad "
> e.g. output = "123ad"
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php