Personal tools
You are here: Home Documentation Users Guide Appendix A: External Functions IS_ELEMENT_OF_STR
Document Actions

IS_ELEMENT_OF_STR

Appendix A Sec26.

IS_ELEMENT_OF_STR

IS_ELEMENT_OF_STR(A, B) returns 1 if any element of string variable B matches any element of string variable A, and 0 if there is no match. The comparisons are case-sensitive.

Arguments:

A

String variable to search


B

String variable to match

Result Axes:

X

Abstract, 1 element long


Y

Normal


Z

Normal


T

Normal

Example:

yes? list/nohead IS_ELEMENT_OF_STR ({"HELLO", "hello", "Friend"}, {"Friend", "bye"}) 
1.00
yes? list/nohead IS_ELEMENT_OF_STR ({"HELLO", "hello", "Friend"}, {"friend", "heLLo"})
0.00



Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: