Question
Checking Apha Numeric ranges with an incoming code
Hi guys,
I have a requirement where it we should check if a code is present in given range. Fortunately, the range happened to be an "AlphaNumeric" for which I am unable to use decision table. I tried using regular expressions but because of large code volumes we considered it as not a best practice.
Example Code: T09.00 to T09.09 (how to check the value in between this range).
Note: I can not write a decision after expanding all those codes beacuse I will end up having more than 300 codes all together.
Please suggest me a best approach to tackle this situation.
Thanks in advance.
Prasan
How about using a custom Rule utility function and use regular expressions in that, could not find what is not considered as best practice in that.
Another one could be use predefined functions to spilt this number and get only last two characters and then easily check if it is in the range of 0 to 09 and also check if first 4 characters are "T09." This could also be done in a custom Rule utility function