This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients cwr, serhiy.storchaka, steven.daprano
Date 2014-09-08.11:18:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1410175134.93.0.475812304389.issue22360@psf.upfronthosting.co.za>
In-reply-to
Content
Such problems are solved by using regular expressions.

>>> re.findall('(?:^|(?<=;)).?[^;]*', 'abc;;def;hij')
['abc', ';def', 'hij']
History
Date User Action Args
2014-09-08 11:18:54serhiy.storchakasetrecipients: + serhiy.storchaka, steven.daprano, cwr
2014-09-08 11:18:54serhiy.storchakasetmessageid: <1410175134.93.0.475812304389.issue22360@psf.upfronthosting.co.za>
2014-09-08 11:18:54serhiy.storchakalinkissue22360 messages
2014-09-08 11:18:54serhiy.storchakacreate