Ok you're right, and I also had to change
rlinenumRead.equals("0"); to
rlinenumRead = ("0"); Strange...I remember being taught that with strings, you use .equals instead of equal signs...
Type: Posts; User: The_Mexican
Ok you're right, and I also had to change
rlinenumRead.equals("0"); to
rlinenumRead = ("0"); Strange...I remember being taught that with strings, you use .equals instead of equal signs...
If it returns null, then why wouldn't
if(rlinenumRead.equals(null))
work? Is that not how I'm suppose to say "if the string returns null"?
Hi, I have a problem where when I try to convert a string to an int, an error comes up. I'm converting the string from a text file so that probably has something to do with it. The text file has...