fnIntersectionOfSets() fnIntersectionOfSets(...) DESCRIPTION This function compares two arrays or string lists and returns an array of all members which are common to both. The string lists are parsed into their elements. SYNTAX fnIntersectionOfSets(setFirst, setSecond, bCaseSensitive, bSeeWhiteSpace) EXAMPLE UNTESTED CODE <%@ Language=VBScript %> <% Response.Buffer = true %>
<% '-->-->-->-->-->-->-->-->--> dim sListA dim sListB dim aaIntersection sList = "one,two,three" sListB = "two,three,four" fnIntersectionOfSets(sListA, sListB) for ii = 0 to UBOUND(aaIntersection) Response.Write(aaIntersection(ii)) Response.Write("