string.upto() and string.from()

ikshefem at gmail.com ikshefem at gmail.com
Wed Mar 22 12:00:49 EST 2006


Sure, you're right I forgot about rsplit !
I guess the negative indexes & al could be done with

sep.join(xyz.split(sep)[:index])


Thanks !




More information about the Python-list mailing list