String Between Two Strings Python Methods