NYCPHP Meetup

NYPHP.org

[nycphp-talk] string function

chad qian nynj.tech at hotmail.com
Wed Jul 2 17:35:15 EDT 2008


An unknown string,its format is:
y="tnk81|98.8$|yuhj78t|32.6$|tris78y|459.78$|....."
 
I need output format:
tnk81      98.8$
yuhj78t   32.6$
tris78y    459.78$
.........................
 
How to program php to get this output?String is divided by "|".
 
Thanks!
 
chad
_________________________________________________________________
Need to know now? Get instant answers with Windows Live Messenger.
http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_messenger_072008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20080702/f9b1f24b/attachment.html>


More information about the talk mailing list