#python2.7
>>> s="V01_1"
>>> s.strip("_1")
'V0'Wouldn't you expect the result to be "V01" ? Cheers Jignesh _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor
