Problem in splitting a string
tjreedy at udel.edu
Thu Jul 22 22:03:03 CEST 2004
"Angelo Secchi" <secchi at sssup.it> wrote in message
news:20040722201632.25d4506a.secchi at sssup.it...
> I have string of numbers and words like
> and I would like to split (I'm using string.split()) it using comma as
> separator but I do not want to split in two also the "name,surname"
> field. In other word I would like python in separating fields to skip
> that particular comma.
> How can I do that?
I suspect that you need the csv (comma separated variable) module.
More information about the Python-list