Page 1 of 1
searching within a text file for specitic words eg if statem
Posted: Mon Nov 04, 2002 1:14 pm
by Danger Dave
I'm having trouble writing a java program to test another java program, saved as txt file, to see if its too complicated by McCabe's law. I have written most of the file but dont know how to search for if,while statements etc... please help
Re: searching within a text file for specitic words eg if st
Posted: Sat Nov 09, 2002 4:37 pm
by Sharad Agarwal
Could you please elaborate? The fact that nobody has responded yet leads me to believe that others have not understood your query very well either.
Warm regards,
Sharad Agarwal
Re: searching within a text file for specitic words eg if st
Posted: Mon Nov 11, 2002 9:34 am
by Danger Dave
Well I found out that you need to use String Tokeniser to do this, but i dont know how to use it.
*********************************************************************************************
Q. How do you use String Tokeniser to Split up a sentence, that has been read in as a String?
Re: searching within a text file for specitic words eg if st
Posted: Mon Nov 11, 2002 9:36 am
by Danger Dave
Thanks for the reply tell me to explain myself more, i do that sometimes, just because i understand what im talking about doesn't mean that anyone else will.