Così no?

codice:
 left(stringa, len(stringa)-4)