Re: Manipulating text

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

 



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
> 

-- 
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