Is it possible to calculate the number of characters in a field? I've tried using Count() but the expression doesn't work.
var lengthArray= [$feature.id]
if (count(lengthArray)!=10)
{
return false;
}
else return true;
Thanks in advance!
Why are you creating a list/array? the count is always going to be 1.
var length = Count(Text($feature.id)) if (length != 10) { return false } else { return true }
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.