[Python-ideas] str.split with empty separator

Alexandre Conrad alexandre.conrad at gmail.com
Fri Jul 30 10:28:10 CEST 2010

2010/7/29 MRAB <python at mrabarnett.plus.com>:
> Shouldn't it be this:
>>>> 'banana'.split('')
> ['', 'b', 'a', 'n', 'a', 'n', 'a', '']

Humm... I believe that it may be correct. It's not what I was
expecting, but it does look accurate.


More information about the Python-ideas mailing list