something about split()???

mingqiang hu humingqiang5262131 at gmail.com
Tue Aug 14 05:23:30 EDT 2012


I have a question about the split function? surpose a = "|",and when I use
a.split("|") , I got the list ['"",""] ,but I want to get the empty
list,what should I do ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120814/28d029ad/attachment.html>


More information about the Python-list mailing list