Hello,
I'm having a hell of a time trying to figure out how to do something pretty simple. What I'm trying to do is read in lines from a file and discard extra stuff after I've gotten what I want. Here's an example:
(DA, 15, 16, 5) blah blah blah
(NW, 11, 10, 23) blah
I want to extract the info between the parantheses, which I can do, but I also need to clear out the rest of the garbage (blah blah blah) on each line until I hit an end of line character. I can't get this to work for some reason and was wondering if anybody knew the right way to do it. Any help would be appreciated.
-Adam