Split function bug fix. while handling escape char