hi
i want use $strstr for multi strings
infact i want multi strings search on filename.
for example
filename 1 is: abcd
filename 2 is: qwer
filename 3 is: zxcv
my incorrect $strstr is:
$strstr(%_filename%,'abcd' OR 'qwer' OR 'zxcv')
The comparison syntax would be:
"$ifgreater($strstr(%_filename%,'abcd'),0,yes,no)" IS yes
you would have to compare each substring separately but you can compose them to
"$ifgreater($strstr(%_filename%,'abcd'),0,yes,no)" IS yes OR "$ifgreater($strstr(%_filename%,'efgh'),0,yes,no)" IS yes
That is why it would be much better if you said that in the first place. You misguided me by introducing the OR.
Right now I fear that you muck about with the filename instead of using the metadata of the fields to create a filename.
Anyway:
$ifgreater($strstr(%_filename%,'abcd'),0,yes,no)
has everything you need: instead of "yes" or "no" insert that what you want to get in case it matches or it does not.