Check If Character Exists In String Java