Python String Mid Function In Power