trim() is very strange inside a class...

From: Date: Mon, 11 Sep 2000 10:13:56 +0000
Subject: trim() is very strange inside a class...
Groups: php.general 
Request: Send a blank email to php-general+get-16142@lists.php.net to get a copy of this message
Hello, I was developing a function and there was a trim(). after I saw that my faction became too big, I created a class, using same codes. Now, the funny thing is that trim() doesn't work properly anymore when it ended up inside a class... it still filters the beginning of the string but forgets about the end of it.. I swear, I didn't touch that line (or whatever could ever affect it) at all while making the class from my code... What could it be, guys? Have any of you had a similar problem? any suggestions? Thank you. Maxim Maletsky - maxim@j-door.com <mailto:maxim@j-door.com> Webmaster, J-Door.com / J@pan Inc. LINC Media, Inc. TEL: 03-3499-2175 x 1271 FAX: 03-3499-3109 http://www.j-door.com <http://www.j-door.com/> http://www.japaninc.net <http://www.japaninc.net/> http://www.lincmedia.co.jp <http://www.lincmedia.co.jp/>

« previous php.general (#16142) next »