I can't seem to figure out how to use Position
function correctly. For example:
Position[{"aaa", "bbb", "ccc", "abc", "bbc", "cca"}, "cc"]
I would like the function to return {3, 6}
as these are the only two positions in the list that contain the string "cc". I'm sure this probably has something to do with patterns, but can't seem to figure it out.