Added string delimiter option and fixed date format handling bug