Class Format Python String Split Function