Hi,
I have a constant which contains array of text, I want to check if a given value is in the array subset of that constant.
For that I'm using-
contains(
{
cons!TA_CITY_LABEL[1],
cons!TA_CITY_LABEL[3],
cons!TA_CITY_LABEL[4],
cons!TA_CITY_LABEL[7]
.
and many more
},
local!label
)
I wonder if there is any solution to it as I have to write the name of constant again and again and I'm checking this multiple times on different datasets.
Discussion posts and replies are publicly visible
index(cons!TA_CITY_LABEL,{1,2,3,4},{})
Oh no I should have done it myself, but what Sanchit suggested above is amazing. Thanks for the help
Okay, but then I'm not responsible for the things Harshit said above