AnsweredAssumed Answered

'LIKE' function in Arcade

Question asked by jhead@lakeworth on Dec 13, 2018
Latest reply on Dec 15, 2018 by xander_bakker

I am looking for a solution that replicates the 'LIKE' function in SQL statements. 

 

for example

IIF($feature.name LIKE 'target text', "", $feature.name)

 

if the target text is found in the feature attribute then it returns nothing, if it's not present then it returns the value found. 

 

I am trying to avoid the multiple uses of IIF and WHEN statements with a simple LIKE... is this functionality possible yet in arcade? 

Outcomes