I'm looking to add a criterion to the target string argument in the @instr command, so that the resulting integer value is calculated not just by how many times a singular target string is counted, but rather multiple targets in terms of an "and" logical context. I could use the following if I wanted a logical "or":
Code: Select all
%targets "a/b c/d"
for %i {%targets}
!string_count = !string_count+@instr(%list,%i)
next
What should I do in this situation?
