In short: I have an excel document that I have a lot of information on and I would like to read the converted .csv file (that separates each cell with a comma, and each row with an enter). Then store each section in variables for later use in my program. I know its possible, Im just not sure how I would I would go about this in C#. I’ve done it in C++ but C# kind of has me thrown for a loop.
Like String.Split() you can google the docs/options online…
Would you also happen to know how to read in the file initially? Im having problems with all of the process. Reading and storing
If it’s just text and not some special format, there are plenty of guides online for reading.
https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/file-system/how-to-read-from-a-text-file
that’s just 1 google hit.
If it’s in a special format beyond what you described then I am not familiar with it.
.csv are technically just text files. I believe you can load them up as textassets just like a .txt file. You could even change .csv to .txt if you wanted.
Cool I’ve never really had one, that I recall (haha…oh well). If it’s all text-like, should be easy going.
If youre gonna comment that, then don’t comment anything
“Just Google it” is not a good reply
Likewise, if you’re going to make your first post, please do something more useful than necroing a 5 year old thread being critical.
Thanks.