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 ...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | =UNION(GivenSet1,GivenSet2) | + | <div style="font-size:30px">'''UNION(GivenSet1,GivenSet2)'''</div><br/> |
− | |||
*where <math>GivenSet1,GivenSet2</math> are the arrays for which union is to be found. | *where <math>GivenSet1,GivenSet2</math> are the arrays for which union is to be found. | ||
Line 14: | Line 13: | ||
*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 | ||
+ | |||
+ | ==Related Videos== | ||
+ | |||
+ | {{#ev:youtube|v=jAfNg3ylZAI|280|center|Union}} | ||
+ | |||
+ | ==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 ]] |
Latest revision as of 13:50, 4 February 2019
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