Quote aware split
Diez B. Roggisch
deets at nospam.web.de
Wed May 16 05:08:35 EDT 2007
Ondrej Baudys wrote:
> Hi,
>
> After trawling through the archives for a simple quote aware split
> implementation (ie string.split-alike that only splits outside of
> matching quote) and coming up short, I implemented a quick and dirty
> function that suits my purposes.
<snip/>
Maybe using the csv module together with cStringIO would be more
straightforward.
Diez
More information about the Python-list
mailing list