Re: removing a # from a string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> How would I remove a # from a string?

> I want #2 to be 2.


$str = "#2";
$str = str_replace("#","",$str);


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux