At some point my files that have Roman numerals II, III, in the filename got corrupted to Ii, Iii. I'm trying to locate and correct them using the $strcmp function but am having trouble constructing the query properly to do a case sensitive search for the string "Ii" anywhere within %filename%.
The $strcmp function checks whether its arguments are equal. You need $strcmp which checks if the first argument contains the second argument.
"$if($strstr(%filename%,Ii),1,0)" IS 1
That worked perfectly...Thanks! The doc for $strstr on the Title Formatting Reference webpage does not imply that it can be done case-sensitive, hence my confusion:
$strstr(s1,s2)
Finds first occurence of string s2 in string s1.
$strcmp(s1,s2)
Performs a case-sensitive comparison of the strings s1 and s2.