in reply to Removing Stopwords from a String

this code didn't work :( is there any other way to remove stop words i am trying to remove stop words for a given french data.