If I want to see if one substring equals any of several other substrings. Is this possible to do without putting each case beside each other:
Current way:
if ( substr.equals("move") || substr.equals("mv") || substr.equals("mov") ){…}
Shorter version (not working):
if ( substr.equals("move" || "mv" || "mov") )