Click here to Skip to main content
15,917,709 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hello I am quite new in file manipulation and I need your help.

I have a string consisting of several (~1200) 1's & 0's and I would like to export each number in a separate column into a csv file, and later use it again.

Any ideas of how can I implement this?
Posted
Updated 10-Nov-12 4:56am
v2
Comments
Nelek 10-Nov-12 11:14am    
If you want your csv to be opened in columns you could go adding a semicolon ";" between each number.

About the later use... it depends on what you want to do
datt265 10-Nov-12 11:26am    
ok thanks, this would serve as an input to a neural net
Nelek 10-Nov-12 11:37am    
You are welcome :)

1 solution

Hi,

Have a look at this article:
Reading and Writing CSV Files in C#[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900