Difference between revisions of "Manuals/calci/UNION"
Jump to navigation
Jump to search
(Created page with "=UNION(GivenSet1,GivenSet2)= *where <math>GivenSet1,GivenSet2</math> are the arrays for which union is to be found. == Description == *This function is used to display the ...") |
|||
Line 14: | Line 14: | ||
*UNION([],[1,2,3,4])=1 2 3 4 | *UNION([],[1,2,3,4])=1 2 3 4 | ||
*UNION([5],[1,2,3,4])=5 1 2 3 4 | *UNION([5],[1,2,3,4])=5 1 2 3 4 | ||
+ | |||
+ | ==See Also== | ||
+ | *[[Manuals/calci/INSET | INSET ]] | ||
+ | *[[Manuals/calci/ODDSET | ODDSET ]] | ||
+ | *[[Manuals/calci/SUBSET | SUBSET ]] | ||
+ | |||
+ | ==References== | ||
+ | *[https://support.smartbear.com/testcomplete/docs/reference/language/all/set-operations-inset.html Set] | ||
+ | |||
+ | *[[Z_API_Functions | List of Main Z Functions]] | ||
+ | *[[ Z3 | Z3 home ]] |
Revision as of 15:56, 26 July 2017
UNION(GivenSet1,GivenSet2)
- where are the arrays for which union is to be found.
Description
- This function is used to display the union of the given two arrays.
- Union is the set that contains elements or objects that belong to either GivenSet1 or to GivenSet2 or to both.
- UNION function will consider text, numbers, or any special characters like @,&...
- Input other than numbers should be given in quotes.
Examples
- UNION(["a","b"],["a","b","c","&"])=a b c &
- UNION([],[1,2,3,4])=1 2 3 4
- UNION([5],[1,2,3,4])=5 1 2 3 4