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 ! -- http://mail.python.org/mailman/listinfo/python-list
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 ! -- http://mail.python.org/mailman/listinfo/python-list