Thursday, 11 February 2010 12:58
Ahem,
Yours is short and doesn't use an extra function call, but does it also strip newlines and tabs?
Also, looking now at the PHP manual for trim, it seems I missed NUL and vertical tab: http://php.net/manual/en/function.trim.php
This is a comment on "AS3 trim()"
Latest Articles
Most Popular
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. Jeff Channell is not affiliated with or endorsed by Open Source Matters or the Joomla!® Project.




