.. highlightlang:: us .. _ST_intersectioni: ST_intersectioni ================ .. index:: ST_intersectioni .. us.tag ST_intersectioni NOTREADYENGLISH STR New5708 Find the set intersection of two vectors and returns an index vector with the positions in *a*. (All the elements that are in *a* and *b*) .. function:: c = ST_intersectioni(a, b) .. us.return **Return Value** *c*is an index vector with the intersection of *a* and *b*. If an intersection doesn't exist the functions returns 0. .. us.params **Parameters** .. uparam:: a *a* is a string or real matrix. .. uparam:: b *b* is a string or real matrix. .. us.example **Example** :: * ST_intersectioni([2.1,3.3,5,4.1,7], [2.1,4.1,9]) 1.000 4.000 * * ST_intersectioni(["one", "two", "three"], ["two", "four", "five"]) 2.000 .. seealso:: :ref:`overview-strings`, :ref:`ST_complement`, :ref:`ST_set`, :ref:`ST_seti`, :ref:`ST_union`, :ref:`ST_intersection`, :ref:`find` :sub:`id-1607093`