Hi,

I have input lines that look like this:

  username,[EMAIL PROTECTED],age,streetname number zip-code
city,www.website.com/user/default.html

and that need to be split into $username, $email, etc.

Easy to do, but some of the records look like this:

  username,[EMAIL PROTECTED],18,"streetname 54B, 1000 Brussels",www.site.com
  "Doe, John",[EMAIL PROTECTED],40,"blah blah,,, ,stuff",www.site2.org

What would be the easiest way to take into account the quotes when splitting
?

TIA,
Filip


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to