John Nagle wrote: > The regular string split operation doesn't yield empty strings: > > >>> " HELLO THERE ".split() > ['HELLO', 'THERE']
Note that invocation without separator argument (or None as the separator)
is special in that respect:
>>> " hello there ".split(" ")
['', 'hello', 'there', '']
Peter
--
http://mail.python.org/mailman/listinfo/python-list
