Added a method to handle a different delimiter.