Hi
I wouldn't know of a SAS function doing this for you - but you could code it.
Something like the code below could do:
data have;
length string1 string2 $60.;
string1='Lycanthrope';
string2='Luz vagaT ';
output;
string1='Come 883 Mai';
string2='Come (OcraMiX_ dj) Mai';
output;
run;
data want;
set have;
length SubString1 $60.;
i=1;
counter=0;
SubString1=scan(String1,i,' ');
do while(SubString1 ne '');
counter + find(String2,strip(SubString1))>0;
if counter=2 then leave;
i+1;
SubString1=scan(String1,i,' ');
end;
run;
proc format;
value counter
2='Match'
other='No Match'
;
run;
proc print data=want;
format counter counter.;
var counter String1 String2;
run;
You didn't tell us whether the sequence of words is relevant or not.
If it is relevant then some additional logic would be necessary (i.e. you could define in the find function to only search the string beginning from a certain position - later than where you had already a hit).
HTH
Patrick