Search:

Type: Posts; User: The_Mexican

Search: Search took 0.07 seconds.

  1. Replies
    5
    Views
    1,205

    Re: String to Int messing up

    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...
  2. Replies
    5
    Views
    1,205

    Re: String to Int messing up

    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"?
  3. Replies
    5
    Views
    1,205

    String to Int messing up

    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...
Results 1 to 3 of 3