I hereby claim:
- I am glennji on github.
- I am glennji (https://keybase.io/glennji) on keybase.
- I have a public key ASCjrZVU_REyUt89bcSaGXO1GSk8IalkYWtRD8ufQ78Ukwo
To claim this, I am signing this object:
public boolean valid(String element, String shortcode) { | |
char [] shortcodeChars = shortcode.toLowerCase().toCharArray(); | |
element = element.toLowerCase(); | |
int char1 = element.indexOf(shortcodeChars[0]); | |
int char2 = element.substring(char1 + 1).indexOf(shortcodeChars[1]); | |
System.out.println(char2); | |
return char1 >= 0 && char2 > 0 && char1 < char2; | |
} |
I hereby claim:
To claim this, I am signing this object: