Improved split string handling in CSV parsing