Skip to content

C# library for loading csv, tsv or other regularly shaped files guess-separated-values.

License

Notifications You must be signed in to change notification settings

j-hudecek/Guesv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guesv

C# library for loading csv, tsv or other regularly shaped files guess-separated-values.

Usage

var g = new Guesv("file.csv");

Loads the file. It searches a couple of first lines for characters which appear similar number of times outside quotes and uses that as a separator.
It can also handle quoted and double quoted (hello FileMaker) CSV/TSV/semicolon-SV/... files.

Accessing values can be done like this:

Console.WriteLine(g.Header[0]);  //first column name
Console.WriteLine(g.Data[15][0]);//value of the first column in 15th row
Console.WriteLine(g[15]["ID"]);  //value of the column "ID" in 15th row

About

C# library for loading csv, tsv or other regularly shaped files guess-separated-values.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages