Data types in splitString function