Checking for embarrassing words in a string

I was recently on YouTube and I noticed that did not check the shortened strings for potentially embarrassing shortenings of words.

YouTube's Cock UpHow to make a great example?

Here is the code so you can shorten strings and check for potentially embrassing words.