Seperate function for different delimiter