What delimits the strings you're searching for? If it's a fixed character like comma or space, put it in your like() clause - ' ... | where like(rawtext,"% "+hit+" %") | ... '. You may need to use multiple like() clauses if the delimiter varies ( ... | where like(rawtext,"% "+hit+" %") OR like(rawtext,"%,"+hit+",%") | ... ).
... View more