-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_TableData_CsvFormat_Parse
Andrew Koryavchenko edited this page Jun 17, 2018
·
2 revisions
Parses CSV data.
Namespace: CodeJam.TableData
Assembly: CodeJam.Blocks (in CodeJam.Blocks.dll) Version: 2.0.0.0
C#
public static IEnumerable<DataLine> Parse(
TextReader reader,
bool allowEscaping = true,
char columnSeparator = ','
)
VB
Public Shared Function Parse (
reader As TextReader,
Optional allowEscaping As Boolean = true,
Optional columnSeparator As Char = ","C
) As IEnumerable(Of DataLine)
F#
static member Parse :
reader : TextReader *
?allowEscaping : bool *
?columnSeparator : char
(* Defaults:
let _allowEscaping = defaultArg allowEscaping true
let _columnSeparator = defaultArg columnSeparator ','
*)
-> IEnumerable<DataLine>
- reader
- Type: System.IO.TextReader
Text to parse - allowEscaping (Optional)
- Type: System.Boolean
If true, allows values escaping. - columnSeparator (Optional)
- Type: System.Char
Char to use as column separator
Type: IEnumerable(DataLine)
Enumeration of DataLine contained parsed data.