Filter with more than 1 argument + check on empty field

Started by irinaonline, January 28, 2018, 05:14:39 AM

Previous topic - Next topic

irinaonline

-if "($SupplementalCategories =~ /%%~nf/i)"

works fine, however, I would like to extend my filter to

-if "(NOT $CountryCode) and ($SupplementalCategories =~ /%%~nf/i)"

this does not work. what is the correct syntax to get only a result back, where the CountryCode is NOT filled?

Phil Harvey

...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).