Fix problem in splitInTwo when separator does not exist in string