On 02/04/2021 12:38, Peter Otten wrote:
On 02/04/2021 11:16, Egon Frerich wrote:
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']
The initial string looks like it'
On 02/04/2021 11:16, Egon Frerich wrote:
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']
The initial string looks like it's close enough to the CSV format.
Unfortu