Skip to content

M_CodeJam_TableData_CsvFormat_CreateParser

Andrew Koryavchenko edited this page Jun 17, 2018 · 6 revisions

CsvFormat.CreateParser Method

Creates RFC4180 compliant CSV parser.

Namespace: CodeJam.TableData
Assembly: CodeJam.Blocks (in CodeJam.Blocks.dll) Version: 2.0.0.0

Syntax

C#

public static Parser CreateParser(
	bool allowEscaping = true,
	char columnSeparator = ','
)

VB

Public Shared Function CreateParser ( 
	Optional allowEscaping As Boolean = true,
	Optional columnSeparator As Char = ","C
) As Parser

F#

static member CreateParser : 
        ?allowEscaping : bool * 
        ?columnSeparator : char 
(* Defaults:
        let _allowEscaping = defaultArg allowEscaping true
        let _columnSeparator = defaultArg columnSeparator ','
*)
-> Parser 

Parameters

 

allowEscaping (Optional)
Type: System.Boolean
If true, allows values escaping.
columnSeparator (Optional)
Type: System.Char
Char to use as column separator

Return Value

Type: Parser
Parser to use with Parse(Parser, String)

See Also

Reference

CsvFormat Class
CodeJam.TableData Namespace

Clone this wiki locally