How do i check if userinput in java contains a component in an array? : Am trying to check firstly if user input contains an offensive word listed in my array of offensive word. Then if user input contains such words listed in the array, then print a message saying(Please don't use the <OFFENSIVE WORD>).