Re: character replace function
| From: | Aaron Gould | Date: | Thu, 14 Feb 2002 18:48:01 +0000 |
| Subject: | Re: character replace function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-84779@lists.php.net to get a copy of this message | ||
Try:
$outputstring = str_replace($character_to_erase, '', $inputstring);
--
Aaron Gould
agould@partscanada.com
Web Developer
----- Original Message -----
From: "Phil Schwarzmann" <pschwar@jhmi.edu>
To: <php-general@lists.php.net>
Sent: Thursday, February 14, 2002 1:38 PM
Subject: [PHP] character replace function
> I need a function that will erase a particular character in a string.
>
> Any ideas?!?
>
>
> THANKS!!!!
>