PDA

View Full Version : How to read text file including all empty spaces..



umulingu
29th September 2009, 07:28
Hai

My input file is like that


AAA12 8.00 NZ 164 200 27-feb-2009 23:17:22 (KK) Testing
test : mmp msm cvc1 cvc2 cvc3 cvc4 cvc5 cvc6 cvc7 cvc8
n001 k091 0g10 9.22 0000 0000 0000 0000 0.83 0000


I want to read the file with all spaces and stored in a separate variables .

I tried with ReadAll() and ReadLine () fns. but unable to spilt the string with spaces.

How to do?

spirit
29th September 2009, 07:33
are you sure that in this file spaces are used?
maybe tabs are used instead if spaces?