Difference between revisions of "Manuals/calci/SUBSET"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div style="font-size:30px">'''SUBSET(GivenSubsetArray,GivenSuperSetArray)'''</div><br/> ==Description== *ISSUBSET function can be used to check the given subset array is a ...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<div style="font-size:30px">'''SUBSET(GivenSubsetArray,GivenSuperSetArray)'''</div><br/>
 
<div style="font-size:30px">'''SUBSET(GivenSubsetArray,GivenSuperSetArray)'''</div><br/>
 +
*<math>GivenSubsetArray</math> and <math>GivenSuperSetArray</math> are any set of values.
 +
 
==Description==  
 
==Description==  
 
*ISSUBSET function can be used to check the given  subset array is a subset of given superset array or not.  
 
*ISSUBSET function can be used to check the given  subset array is a subset of given superset array or not.  
Line 10: Line 12:
 
==Examples==
 
==Examples==
 
#=SUBSET([],[1,2,3,4]) = true
 
#=SUBSET([],[1,2,3,4]) = true
#=SUBSET([1,2],[1,2,3,4])
+
#=SUBSET([1,2],[1,2,3,4]) = true
 
#=SUBSET(["a"],["a",1,2,3,4])= true
 
#=SUBSET(["a"],["a",1,2,3,4])= true
 
#=SUBSET(["a"],["a","1","b"]) = true
 
#=SUBSET(["a"],["a","1","b"]) = true
 
#=SUBSET([a],[a]) = Sorry! a is not defined
 
#=SUBSET([a],[a]) = Sorry! a is not defined
 +
 +
==Related Videos==
 +
 +
{{#ev:youtube|v=1wsF9GpGd00|280|center|Subset}}
 +
 +
==See Also==
 +
*[[Manuals/calci/INSET  | INSET ]]
 +
*[[Manuals/calci/ODDSET  | ODDSET  ]]
 +
*[[Manuals/calci/EVENSET  | EVENSET ]]
 +
 +
==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 15:40, 31 January 2019

SUBSET(GivenSubsetArray,GivenSuperSetArray)


  • and are any set of values.

Description

  • ISSUBSET function can be used to check the given subset array is a subset of given superset array or not.
  • This function gives the result as TRUE or FALSE.
  • The result is TRUE when the given array is a subset of given superset array otherwise the result is false..
  • The argument can be blank, or it can contain data such as text,numbers,error values,logical values or any equations.
  • Text input should be give in quotes.


Examples

  1. =SUBSET([],[1,2,3,4]) = true
  2. =SUBSET([1,2],[1,2,3,4]) = true
  3. =SUBSET(["a"],["a",1,2,3,4])= true
  4. =SUBSET(["a"],["a","1","b"]) = true
  5. =SUBSET([a],[a]) = Sorry! a is not defined

Related Videos

Subset

See Also

References