Re: Remove punctuation
| From: | Jason Davidson | Date: | Thu, 09 Sep 2004 18:29:22 +0000 |
| Subject: | Re: Remove punctuation | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-196237@lists.php.net to get a copy of this message | ||
http://ca3.php.net/manual/en/function.str-replace.php
if you have the array of puncuation already, i think that is your
solution.
Jason
"Jed R. Brubaker" <jrb21398@hotmail.com> wrote:
>
> Hi all!
>
> I am creating a function that will remove punctuation from a string,
> however, I am wondering if PHP has a function somewhere that will do the
> same.
>
> Right now my approach is to cycle through an array of punctuation and remove
> the items.
>
> Anything already exist?
>
> Thanks!
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>