Suppose I have a ordered set $A=\{2,3\}$ and $B=\{2,3,4\}$ and $C=\{2,4,3\}$. Is there any mathematica command whether $A\subset B$ gives true(or 1) but $A$ which is not a subset of $C$ gives false(or 0)?
I know OrderedQ
, but that only gives OrderedQ[{2, 3}] == True
and OrderedQ[{3, 2}] == False
, so it was not that useful.