         }
         CSVExport.export.cleanup();
         if fields.count > 0 && values.count > 0 {
-            let  result:String = fields.componentsJoined(by: ",");
+            let  result:String = fields.componentsJoined(by: divider?.rawValue ?? ",");
             CSVExport.export.write( text: result)
             for dict in values {
                 let dictionary = (dict as! NSDictionary);

                let csvText = try String(contentsOf: localPathURL, encoding: encodingType);
                
                // Check the csv count
                if csvText.characters.count > 0 {
                    
                    // Split based on Newline delimiter
                    let csvArray = self.splitUsingDelimiter(csvText, separatedBy: "\n") as NSArray

    }
    
    func splitUsingDelimiter(_ string: String, separatedBy: String) -> NSArray {
        if string.count > 0 {
            return string.components(separatedBy: separatedBy) as NSArray;
        }
        return [];
