.. _functx_contains-any-of: ====================== functx:contains-any-of ====================== Whether a string contains any of a sequence of strings Description ~~~~~~~~~~~ The functx:contains-any-of function performs the fn:contains function on a sequence of strings, returning true if $arg contains any one of the values in $searchStrings. .. list-table:: :widths: 40 60 :header-rows: 1 * - **Parameters** - **Description** * - arg:string() - the string to test * - searchStrings:string() - the strings to look for Examples ~~~~~~~~ .. list-table:: :widths: 50 50 :header-rows: 1 * - **XPath** - **Results** * - functx:contains-any-of('abc',('bc','xy')) - true * - functx:contains-any-of('abc',('de','xy')) - false See Also ~~~~~~~~ .. toctree:: :titlesonly: :glob: * :ref:`contains`.