Class Format Python String Split Characters In A String