here i used CROSS APPLY dbo.DelimitedSplit8k(@VALUES,'')ds funtion to split the words 'the cri word'
declare @value varchar(800)='the cri word'
function name is split it will split values like this
the
cri
word
this words should be checked one by one in the select query