|
Post by Observer on Jan 20, 2002 21:03:12 GMT -5
This should be simple to answer for those who know.
I've nearly finished the URLList/A1Driver and was wondering about output. One the handout, the sample run shows that output is given on each line without ANY blank lines.
When I do a search or lookup for instance and there is no result to be displayed, my cursor jumps a few lines and then enables you to type something in. How do you make it so that if the search has no results to show for instance that the cursor will just go to the next line with missing lines?
ie. I want:
add one two search three --and then continue here
I don't want:
add one two search three
---and then continue here
|
|
barp
Full Member
Posts: 28
|
Post by barp on Jan 21, 2002 22:08:34 GMT -5
put it in an if....so it only prints if... condition is true Now, for my question.... how did you handle the fact that it's not case sensative???... what methods do we use.. i've tried indexOf....... and some other stuff.... I need something like indexOfIgnoreCase....but there is no such method......grrrr...........
|
|
|
Post by EurasianVixen on Jan 21, 2002 22:42:19 GMT -5
The prof said that you don't have to worry about case-sensitivity b/c the programs will be tested using lowercase commands ("get" "swap" "list" etc)
|
|