QTP Math functions – Check Item in Set
Parent page: Service Functions – Math (QTP, VBScript)
Check whether an item is in set
Public Function isItemInSet(ByVal stSet, ByVal sItem, ByVal sSetSeparator) Dim dvArray If sItem = "" Then isItemInSet = False Exit Function End If dvArray = Set2Array(stSet, sSetSeparator) isItemInSet = isItemInArray(dvArray) End Function