Re: Manipulating text
| From: | PHP) | Date: | Fri, 09 Dec 2005 04:13:45 +0000 |
| Subject: | Re: Manipulating text | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-40821@lists.php.net to get a copy of this message | ||
Thanks for telling me the 'explode' command. Ron
On Fri, 2005-12-09 at 08:07 +0530, Amol Hatwar wrote:
> On Thu, 2005-12-08 at 21:25 -0500, Ron Piggott (PHP) wrote:
> > If I have
> >
> > $variable = "play_time";
> >
> > how may I remove "play_" from $variable and just have $variable equal to
> > "time"?
> >
>
> If you are hinting at '_' as a delimitter, you can use explode(). Learn
> more about it here:
> http://php.net/explode
>
> Regards,
>
> ah
>