Skip to content

Using ; as divider #7

@macshodan

Description

@macshodan

Hi, first of all thanks for your amazing work.

I only have one problem, I cannot set the field divider to semicolon (;) instead of commas.

I've tried:

  let writeCSVObj = CSV()
  writeCSVObj.delimiter = DividerType.semicolon.rawValue
  writeCSVObj.rows = data
  writeCSVObj.fields = headers as NSArray
  writeCSVObj.name = "ExportTest"

as well as:

  let writeCSVObj = CSV()
  writeCSVObj.delimiter = ";"
  writeCSVObj.rows = data
  writeCSVObj.fields = headers as NSArray
  writeCSVObj.name = "ExportTest"

but the output file will always have commas as field dividers. Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions