Write content of a 2D-string array to a CSV file.
Namespace: ExpSuiteAssembly: FrameWork (in FrameWork.exe) Version: 1.0.0.0
Syntax
Visual Basic |
---|
Public Function WriteArr ( _ szFile As String, _ szArr As String(,), _ pbStatus As ProgressBar _ ) As String |
Parameters
- szFile
- Type: System..::..String
File Name of the new CSV file.
- szArr
- Type: array<System..::..String,2>[,](,)[,][,]
Array with the data.
- pbStatus
- Type: System.Windows.Forms..::..ProgressBar
Progress bar to show the progress of parsing.
Return Value
Error message, empty if no error ocured.Remarks
Rules (if " is Quota and , is Separator):
row : cell,cell,cell cell: abcdef -> abcdef abc,def -> "abc,def" "abcdef -> """abcdef" abc",def -> "abc"",def" ab,cd,"ef -> "ab,cd""ef"