I have a string of words; let\'s call them bad:
bad
bad = \"foo bar baz\"
I can keep this string as a whitespace separated string,
bad = "foo bar baz"
=> "foo bar baz"
str = "This is my first foo string"
=> "This is my first foo string"
(str.split(' ') - bad.split(' ')).join(' ')
=> "This is my first string"