[Python-Dev] Discussion on adding rsplit() for strings and unicode objects. (original) (raw)

Barry Scott barry at barrys-emacs.org
Mon Sep 22 12:56:17 EDT 2003


I'm all for it. I've had to implement rsplit on my own as well, and always lamented (but never did anything, unfortunately) about its lack in the standard library. That strings have rfind, rindex, rstrip, and rjust, but not rsplit always seemed somewhat less than complete to me.

These "r" are not a single family... some mean reverse some mean right.

BArry



More information about the Python-Dev mailing list