Quote:
|
Originally Posted by Belisarius
Is it a constant format? Is the first line always upper-case, the second lower-case, etc?
|
Yup... its devetively simple. I went ahead with a suggestion from another source...
while(Line_one != null) //begin loop
{
System.out.println(Line_one.toUpperCase());
output_file.println(Line_one.toUpperCase());
Line_one = inputFile.readLine();
if (Line_one != null)
{ System.out.println(Line_one);
output_file.println(Line_one);
}
Line_one = inputFile.readLine();
}
Worked well, even though its a alittle clumsy.
Thanks all