Designing and Implementing Business Process Models : Business Rules Reference : Functions Overview : boolean inRange(String[][] listOfRanges, String[] exclusions)
boolean inRange(String[][] listOfRanges, String[] exclusions)
Indicates whether or not this string is within the specified list of ranges. The checking is inclusive, meaning that the lower and upper bounds of the ranges will be tested for the string. A separate list of exclusions can be provided to indicate that even though the string is within the given list of ranges, it should not be accepted if found within the exclusions list. Case differences (upper/lower) are not ignored.
Input Parameters
listOfRanges
String List The list of ranges to check against. This is a two-dimensional string array with the outer dimension containing the list of ranges and the inner dimension containing the upper and lower bounds of each range. The outer dimension can contain 1 - n elements, while the inner dimension must always contain exactly two elements.
exclusions
String List An array of items to be excluded from the range check.
Return Value
Boolean Returns true if this string exists within the specified list of ranges, false otherwise.
Copyright © 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback