Function csvStringToArray

Parse the entire body of a CSV file at once.

  • Parameters

    • data: string

      An entire CSV file.

    Returns string[][]

    An array, one element per line. Each element is a sub array, one element per column.