howto split string with both comma and semicolon delimiters

dmitrey dmitrey.kroshko at scipy.org
Thu Jun 12 14:04:39 EDT 2008


hi all,
howto split string with both comma and semicolon delimiters?

i.e. (for example) get ['a','b','c'] from string "a,b;c"

I have tried s.split(',;') but it don't work
Thx, D.



More information about the Python-list mailing list