php - How to split a space separated file? -


I'm trying to import it:

The format As is: AAS Air Force AFG 004 Afghanistan, Islamic Republic of EU AXAA 248 Åland Islands EU L ALB 008 Albania, Republic of AF DZ DGAA 012 Algeria, People's Republic of Congo OC ASM 016 American Samoa EU Edi and 020 Andorra, Air Force AO AGO 024 Angola's Principality, NA AIA 660 Anguilla Republic

If I

   

which works fine except for countries with more than 1 word.

How do I divide it Can I do the first 4 bits of data (characters / inputs) and 5th bit data which remains?

This is in PHP

Thanks

The function takes an optional boundary parameter. Change your function call:

  & lt; php explosion ("$$$$$);? & Gt;  

and you'll see the The name of the country will be found, in which there will be empty space.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -