ByteScout Spreadsheet SDK - C# - Read TXT (Tab Delimited) - ByteScout

ByteScout Spreadsheet SDK – C# – Read TXT (Tab Delimited)

  • Home
  • /
  • Articles
  • /
  • ByteScout Spreadsheet SDK – C# – Read TXT (Tab Delimited)

How to read TXT (tab delimited) in C# using ByteScout Spreadsheet SDK

The tutorial shows how to read TXT (tab delimited) in C#

The sample source code below will teach you how to read TXT (tab delimited) in C#. Want to read TXT (tab delimited) in your C# app? ByteScout Spreadsheet SDK is designed for it. ByteScout Spreadsheet SDK is the SDK component for writing, reading, modifying and calculating Excel and CSV spreadsheets. Can calculate and reculculate formulas with Excel installed. You may import or export data to and from CSV, XML, JSON. Supports export to databases, arrays, streams.

This rich sample source code in C# for ByteScout Spreadsheet SDK includes the number of functions and options you should do calling the API to read TXT (tab delimited). Follow the instructions from the scratch to work and copy the C# code. Test C# sample code examples whether they respond your needs and requirements for the project.

ByteScout Spreadsheet SDK free trial version is available on our website. C# and other programming languages are supported.

Try ByteScout Spreadsheet SDK today: Get 60 Day Free Trial or sign up for Web API

Hello_world.txt
      
Hello, world! 1 2 3 4 5

Try ByteScout Spreadsheet SDK today: 60 Day Free Trial (on-premise version) or sign up for Web API (on demand version)

Program.cs
      
using System; using System.Collections.Generic; using System.Text; using Bytescout.Spreadsheet; using System.IO; namespace HelloWorld { class Program { static void Main(string[] args) { // Create new Spreadsheet Spreadsheet document = new Spreadsheet(); document.LoadFromFile("Hello_World.txt", "\t"); // reading from TXT file using \t (TAB) as delimiter // Get first worksheet Worksheet worksheet = document.Workbook.Worksheets[0]; // Read cell value Console.WriteLine("Cell (0,0) value: {0}", worksheet.Cell(0, 0).ValueAsExcelDisplays); // Write message Console.Write("Press any key to continue..."); // Wait user input Console.ReadKey(); } } }

Try ByteScout Spreadsheet SDK today: 60 Day Free Trial (on-premise version) or sign up for Web API (on demand version)

VIDEO

ON-PREMISE VERSION

Get 60 Day Free Trial or Visit ByteScout Spreadsheet SDK page

Explore ByteScout Spreadsheet SDK documentation

WEB API

Sign Up for free Web API key

Explore Web API Documentation

Tutorials:

prev
next