Search:

Type: Posts; User: djl1990

Search: Search took 0.07 seconds.

  1. Re: Testing if an inputted String exists in an String Array

    Ok cheers,

    had a quick look around and a quick think and only thing i came up with is this:



    public static void main(String[] args) {

    String[] passwords = new String[]{"rose77",...
  2. Testing if an inputted String exists in an String Array

    Ok,

    So what i want to do is read in a String from the user and test to see if the inputted String is equal to one of the Strings that exist in a String array that i have created.

    Here is what...
Results 1 to 2 of 2