i'm trying to make this little hangman type game and i don't know the logic of what to do. i am new to java so i can't figure it out on my own. so made it get the words from the file, then i used the word it grabbed and replaced it with underscores. so if it grabs the word "santa" it says like, your word is "_____". but now they have to input a character and if it is one of the characters that is in the hidden word, it will change it to like "_a__a" if they choose 'a' and keep doing that until they win or lose (max 7 tries). i have no clue how to have it search the real word with the inputed character and then replace the "_____" with the correct letters if they choose the right letter. so basically, how do i get it too search and replace with the inputed character.