Check which words show up at least once within words from another vector
<p>Let's say we have a list of words:</p>

<pre><code>words = c("happy","like","chill")
</code></pre>

<p>Now I have another string variable:</p>

<pre><code>s = "happyMeal"
</code></pre>

<p>I wanted to check which word in words has the matching part in s. 
So s could be "happyTime", "happyFace", "happyHour", but as long as there's "happy" in there, I want my result to return the index of word "happy" in the string vector words. </p>

<p>This question is similar but not identical to from the question asked in the post: <a href="https://stackoverflow.com/questions/18791354/comparing-strings-in-r">Find a string in another string in R</a>.</p>