$gettok would help, because if you use
if (ass isin $1-) {
Wouldn't it pick up on any of those words anywhere? i.e, 'ASSassin'?