troubleshooting Question

Split a text file into multiple files using VB.NET or C#

Avatar of aothomas42
aothomas42Flag for United States of America asked on
C#.NET ProgrammingVisual Basic.NETLINQ Query
2 Comments1 Solution4139 ViewsLast Modified:
I have a file that I need to split based on the first field in the file.

For example

1|1000
1|1000
2|1000
2|1000
3|10000
1|10000

I would like this to create 3 files based on the first field in the file.
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros