Menu
I have a word list I am using to remove common words from a user’s input. I’m using str_replace with an array of the words but this is causing some problems. Able is a word in the list so this removes able from any word, such as available. Is there a single line solution to this without doing an if… then?