AW: [PHP] Parsing Strings
| From: | Konrad Priemer | Date: | Sat, 06 Dec 2008 00:22:52 +0000 |
| Subject: | AW: [PHP] Parsing Strings | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-284218@lists.php.net to get a copy of this message | ||
Hi,
Jason wrote:
> I have a string that is: Jason Slack
> and I want it broken at the space so i get Jason and then Slack
explode or split can do this.
$array = explode(" ", "Jason Slack");
Array
(
[0] => Jason
[1] => Slack
)
Greetings from Stuttgart
Conny
---
Firma Konrad Priemer
Onlinedienste & Webdesign
Kirchheimer Straße 116, D-70619 Stuttgart
Tel. 0711-50420416, FAX 0711-50420417, VOIP 0711-50888660
eMail: mailto:cpo@cp-onlinedienste.de - Internet:
http://www.cp-onlinedienste.de
---
Aktuelles Projekt: http://www.tierische-events.de -
Veranstaltungen für
(oder mit) Mensch, Hund, Katze und Pferd
__________ Hinweis von ESET NOD32 Antivirus, Signaturdatenbank-Version 3667
(20081205) __________
E-Mail wurde geprüft mit ESET NOD32 Antivirus.
http://www.eset.com