dear members of the community,
i have 2 tables. one containing strings and another containing a list of words and numbers.
i would like to join the table based on whether the string includes the exact word. but not if it pat of another (longer) word.
for example 'cat' should match only 'cat' and not 'bigcat' as in the image below.
i have added spaces before and after the terms in order to facilitate. in sql i could use a join command based on LIKE to preform a match based on a substring so adding the spaces helps identify whole words to a certain extent.

thank you for any suggestions