How To Check If A String Contains Multiple Characters In Java