Search:

Type: Posts; User: Mr.777

Search: Search took 0.07 seconds.

  1. Re: Checking whether a string is a substring of another string without using indexOf

    Good Luck. So i hope, you've solved the problem.
  2. Re: Checking whether a string is a substring of another string without using indexOf

    No, i don't mean use indexOf() as you can simply return the value of i or j variable depending upon the index you are comparing with and match=true.

    You can say 50%. Input it
    String1: sha...
  3. Re: Checking whether a string is a substring of another string without using indexOf

    for (int j = 0; j < string2.length(); j++) {
    d = string2.charAt(j);
    if (d != c) {
    match = false;
    System.out.println("MATCH: N The value of c and d: " + c + " and " + d);
    }...
Results 1 to 3 of 3