Spss String Operations In Python