note 90905 deleted from function.trim by hholzgra

From: Date: Thu, 02 Aug 2012 12:30:20 +0000
Subject: note 90905 deleted from function.trim by hholzgra
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-189668@lists.php.net to get a copy of this message
Note Submitter: Andrew ---- It should be mentioned that if you use the second charlist parameter, you are overriding the defaults, not adding to them. You would need to either explicitly add them to the charlist or call trim twice, like so: <?php $str = trim(trim($str), './@#$'); ?>

« previous php.notes (#189668) next »