Need Help Creating Complex Filter
Posted: Sun Oct 11, 2015 1:16 pm
I would like to create a complex filter using this filter, using a string of digits of any lengths, using last digits.
The filter will be using these values
OEE LLL OIO YNN
if the string is 5 digits ,a mixture of Odd/Even/High/Low/In/Out
Odd digits 1,3,5,7,9
Even digits 0,2,4,6,8
High digits 5,6,7,8,9
Low digits 0,1,2,3,4
In digits 3,4,5,6,7
Out digits 0,1,2,8,9
If the string is 3 or more Even digits Y, else N; if 3 or more High digits Y, else N; if 3 or more In digits Y, else N.
Examples
25652 YYY
12367 NNY
45176 NYY
40790 YNN
50582 YYN
01595 NYN
23071 NNN
23672 YNY
The filter will be using these values
OEE LLL OIO YNN
if the string is 5 digits ,a mixture of Odd/Even/High/Low/In/Out
Odd digits 1,3,5,7,9
Even digits 0,2,4,6,8
High digits 5,6,7,8,9
Low digits 0,1,2,3,4
In digits 3,4,5,6,7
Out digits 0,1,2,8,9
If the string is 3 or more Even digits Y, else N; if 3 or more High digits Y, else N; if 3 or more In digits Y, else N.
Examples
25652 YYY
12367 NNY
45176 NYY
40790 YNN
50582 YYN
01595 NYN
23071 NNN
23672 YNY