Reading File in ASP. or How to use pattern matching in asp?

abhii_sagii

New member
I am using asp. I want to read a file and check if a "Test Name" is already been used before or not.
Right now what i am doing is reading a file and just read first 9 character of each line because that file have "Test Name" written at the starting of line. After that i want to break and move to next line but i don't see any way in asp to move to next line while reading a file.

Any suggestion for above problem????

Also if anybody knows a better idea than what i am thinking right now. i.e i will check if a line has the string "Test Name" than in front of it will be the name of the test ,something like this
Test Name=Integrity
i want to check whether user has given a same or differnt name.

thanks
 
Back
Top