Nov 23, 2000, 7:26 PM
Post #1 of 2
About file handling
I have a file which contains some words (one word in one line).I want to read it's contents and do some pattern matching.
But the problem here is when i read the file like
the array list has all the words but a carriage return along with it.I used chop function then also a lot of error.
the f1.txt contains contents in this format
Will you please help me to solve this problem.The main problem is that i can't compare the strings.It may be due to the format in which the array stores the file contents.
Thank you in advance