note 15119 added to function.trim

From: Date: Tue, 28 Aug 2001 19:35:47 +0000
Subject: note 15119 added to function.trim
Groups: php.notes 
Request: Send a blank email to php-notes+get-17260@lists.php.net to get a copy of this message
I think, this is a much nicer way to get rid of whitespaces, if you are dealing with a numbers i. e. entered in a form.. $var = $var + 0; http://www.php.net/manual/en/function.trim.php

« previous php.notes (#17260) next »