Search:

Type: Posts; User: Parranoia

Search: Search took 0.08 seconds.

  1. Replies
    12
    Views
    1,270

    Re: Valid ticket id

    There is also another problem in the second for loop


    for (i = 0; i > id.length() - 3; i++)

    even correcting it


    for (i = 0; i < id.length() - 3; i++)
  2. Replies
    12
    Views
    1,270

    Re: Valid Ticket

    You should look up regular expressions. It will help you immensely with this.
    Specifically, the matches method of the string class: matches(java.lang.String)
    Regular Expressions: Pattern (Java...
Results 1 to 2 of 2