IS_ELEMENT_OF_STR
Appendix A Sec26.
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