AW: Parsing Strings

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

 



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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux