Home  |  About  | Last |  Submit  |  Contact
AllQuests.com

Previous Question:  [ubuntu] Best way to get VMware player on Ubuntu  General HelpNext Question:  [ubuntu] Any program Like Adobe Acrobat work with ubuntu  General Help
Question Split text ( SitePoint Forums PHP )
Updated: 2010-07-21 05:55:02 (2)
Split text

I have some information that is presented in this format.

aaa|||1234
b1bb|||ddssc123
bb|||sc123

All of them have the |||

Now I would like to split the left part of the ||| into a seperate variable and the right part into another,

How do I do this

Please help
Niva

Answers: Split text ( SitePoint Forums PHP )
Split text

list($first_part,$second_part) = explode("|||",$string);
that is, if the $string variable contains one line of your data

bkennedy

Split text

thank you

Niva

nivashni

Previous Question:  [ubuntu] Best way to get VMware player on Ubuntu  Ubuntu Forums  General HelpNext Question:  [ubuntu] Any program Like Adobe Acrobat work with ubuntu  Ubuntu Forums  General Help

- Source: Split text SitePoint Forums PHP
- Previous Question: [ubuntu] Best way to get VMware player on Ubuntu Ubuntu Forums General Help
- Next Question: [ubuntu] Any program Like Adobe Acrobat work with ubuntu Ubuntu Forums General Help





AllQuests.com