Change data type on string