Re: removing a # from a string
| From: | Joseph Szobody | Date: | Wed, 02 Jul 2003 14:49:50 +0000 |
| Subject: | Re: removing a # from a string | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-29028@lists.php.net to get a copy of this message | ||
> How would I remove a # from a string?
> I want #2 to be 2.
$str = "#2";
$str = str_replace("#","",$str);