fnTestSetIdentity() fnTestSetMembership(...) DESCRIPTION This function compares two Sets (ie either Arrays or String Lists) or a value and a Set and determins if the first value or set is contained within the other. . SYNTAX fnName(setFirst, setSecond, [bCaseSensitive], [bSeeWhiteSpace]) EXAMPLE UNTESTED CODE <%@ Language=VBScript %> <% Response.Buffer = true %> <% '-->-->-->-->-->-->-->-->--> '--<--<--<--<--<--<--<--<--< %> RESULTS False PARAMETERS setFirst-- ARRAY, STRINGLIST (or any other type of value or variable) This param is the Member value or set to check for. setSecond-- ARRAY, STRINGLIST, value, variable: This param is the Container set. If the set has only one value then this function devolves to a simple check for equality [bCaseSensitive] BOOLEAN This parameter determines if strings are compared in a case sensitive manner or not. [bSeeWhiteSpace] BOOLEAN This param determines if all 'bordering' white space (tabs, returns, spaces) is stripped from string values before making a comparison. STATUS to do DEPENDENCIES LAST MODIFIED 12 April 2000 PROGRAMMER Matthew Bishop (matthew@massive.com.au or matth3wbishop@yahoo.com) LOCATION http://www.geocities.com/matth3wbishop/eg/asp/ DOCUMENTATION http://www.geocities.com/matth3wbishop/eg/asp/ COMMENTS: a) b) c) SEE ALSO: fnTestSetIdentity, fnUnionOfSets, fnIntersectionOfSets, fnHasSameLetters