#37145 [Opn->Bgs]: trim not giving desired resultset
ID: 37145
Updated by: tony2001@php.net
Reported By: dibakar dot datta at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: Strings related
Operating System: linux, windows
PHP Version: 5.1.2
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
http://php.net/trim
Previous Comments:
------------------------------------------------------------------------
[2006-04-20 10:37:38] dibakar dot datta at gmail dot com
Description:
------------
like to have a data to show like this "IndusNetTech". If the value
contain any spaces to be removed.
Reproduce code:
---------------
<?PHP
$var = "Indus Net Tech";
$name = trim($var);
print $name;
?>
Expected result:
----------------
IndusNetTech
Actual result:
--------------
Indus Net Tech
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37145&edit=1
Thread (2 messages)