CsvReader
Assembly: ServiceStack.Text.dll
View Source
Declaration
public class CsvReader
Methods
ParseLines(String)
View Source
Declaration
public static List<string> ParseLines(string csv)
Returns
System.Collections.Generic.List<System.String>
Parameters
Type | Name |
---|---|
System.String | csv |
ParseFields(String)
View Source
Declaration
public static List<string> ParseFields(string line)
Returns
System.Collections.Generic.List<System.String>
Parameters
Type | Name |
---|---|
System.String | line |
ParseFields(String, Func<String, String>)
View Source
Declaration
public static List<string> ParseFields(string line, Func<string, string> parseFn)
Returns
System.Collections.Generic.List<System.String>
Parameters
Type | Name |
---|---|
System.String | line |
System.Func<System.String,System.String> | parseFn |
EatValue(String, ref Int32)
View Source
Declaration
public static string EatValue(string value, ref int i)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | value |
System.Int32 | i |