Greetings

  • Thread starter Thread starter news.microsoft.com
  • Start date Start date
N

news.microsoft.com

Hello

How do we sort out a tab delimited file into an array ?

Say a user opies the contents of the tab delimited file into memory
(clipboard)

I want my app to put it into an array and carry out some operation.

Is there any code sample I could look at ?

Thanks
 
You could do this operation yourself, looking for commas in the string
while you parse through it. However, I think you should probably use the
text driver for OleDb, using the classes in the System.Data.OleDb namespace
to access the data.

Hope this helps.
 
Hey Thanks Nicholas

Is there any code snippet I could look at which would show me how to do it?

Thanks

Nicholas Paldino said:
You could do this operation yourself, looking for commas in the string
while you parse through it. However, I think you should probably use the
text driver for OleDb, using the classes in the System.Data.OleDb
namespace to access the data.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

news.microsoft.com said:
Hello

How do we sort out a tab delimited file into an array ?

Say a user opies the contents of the tab delimited file into memory
(clipboard)

I want my app to put it into an array and carry out some operation.

Is there any code sample I could look at ?

Thanks
 
Back
Top