A 1 to 1 port of TextFieldParser
for .NET Core.
Install via nuget: TextFieldParserCore
https://www.nuget.org/packages/TextFieldParserCore/1.0.0
Use the same way as you would use TextFieldParser
for .NET Framework.
For a specific example, see this unit test: https://github.com/datchung/TextFieldParserCore/blob/master/src/TextFieldParserCore.Test/TextFieldParserCoreTest.cs#L46
PRs welcome. Espeically for unit test coverage.
Reference code here https://github.com/microsoft/referencesource/blob/master/Microsoft.VisualBasic/runtime/msvbalib/FileIO/TextFieldParser.vb
No warranties expressed or implied.