I have a bus stops point dataset. There is a field called "IsBusStop" and every single point is set to Y. The problem is, some of the points are actually loading zones, not bus stops. There is a point description field which includes "LOADING ZONE" for those points. I need to find that text, and then change IsBusStop to N. I'm trying to use the Find() function, but it's not working. I need something along the lines of "LIKE" in SQL.
Here is my expression so far:
var description = $feature.PointDescription
var busstop = $feature.IsBusStop
var lz = Find('LOADING ZONE',description)
When(lz == 1, Replace(busstop, 'Y', 'N'),busstop )