Last modified: Fri, 06/16/2017 - 16:55
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.
IS_ELEMENT_OF_STR_N(A, B) returns the same result, using a non-case-sensitive search.
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