I have a string like

'"ab,c" , def'

and need to separate it into

"ab,c" and "def".

split separates at the first ',':

>>> bl
'"a,bc", def'
>>> bl.split(',')
['"a', 'bc"', ' def']


Egon



Attachment: signature.asc
Description: OpenPGP digital signature

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to