[Python-Dev] "funny".split("")

Christian Tismer tismer@tismer.com
Tue, 12 Mar 2002 19:50:43 +0100


Andrew Koenig wrote:

...


> One plausible rule, which would have the advantage of working the
> same for empty and nonempty separators, is that no element of
> the result can be equal to the separator.


Eeeeehhh!
That sounds very good.
It can make me unconvinced again, of course.
Split can never return the separator,
that makes the number of possible answers
not only finite, but unique!

Excellent!

Guys, please let me know if this will be changed,
soon, since I want to finish the translation :-)

len("ciao - chris".split("")) == 12)

-- 
Christian Tismer             :^)   <mailto:tismer@tismer.com>
Mission Impossible 5oftware  :     Have a break! Take a ride on Python's
Kaunstr. 26                  :    *Starship* http://starship.python.net/
14163 Berlin                 :     PGP key -> http://wwwkeys.pgp.net/
PGP Fingerprint       E182 71C7 1A9D 66E9 9D15  D3CC D4D7 93E2 1FAE F6DF
      where do you want to jump today?   http://www.stackless.com/