Sorry, forgot to repost XD. After re-reading this I got confused on what you want. If you want to block the word ass but not asymptote; you could just put spaces before and after each word in the array.
Your example would be:
Code:
new phrase[4][] = { " bs ", " bullshit ", " bullsh*t ", " hack "}
__________________