Re: Best way to split string
| From: | Richard Lynch | Date: | Fri, 24 Nov 2000 20:22:12 +0000 |
| Subject: | Re: Best way to split string | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27033@lists.php.net to get a copy of this message | ||
$parts = explode(' ', $text);
$time = $parts[1];
----- Original Message -----
From: Todd Cary <todd@aristesoftware.com>
Newsgroups: php.general
Sent: Friday, November 24, 2000 2:30 PM
Subject: [PHP] Best way to split string
> I need to get the time token out of the following string. What is the
> best function to use for this?
>
> 09/12/00 12:05:00
>
> Many thanks....
>
> Todd
>
> --
> Todd Cary
> Ariste Software
> todd@aristesoftware.com
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>