Answers for "c# split lines into array"

C#
0

c# split string by index

string a = input.Substring(0, 10);
string b = input.Substring(10, 5);
string c = input.Substring(15, 3);
Posted by: Guest on October-06-2021
0

read all lines split C#

List<string[]> list = File.ReadLines("YourFile.txt")
                          .Select(r => r.TrimEnd('#'))
                          .Select(line => line.Split(','))
                          .ToList();
Posted by: Guest on November-02-2021

Code answers related to "c# split lines into array"

C# Answers by Framework

Browse Popular Code Answers by Language