Using ArcGIS Pro 2.9, I'm having trouble finding a way to use Arcade to determine the length of text within a field. For example, I'd like to evaluate a field for if the length of the string is greater than 3 then leave the label blank, otherwise display the Label field...iif(Length($feature.Field) > 3, "", $feature.Label).
The Length function in Arcade is for displaying the length of geometry. Is anyone aware of an Arcade function that can be used to determine the length of a text string?
Solved! Go to Solution.
The Count function returns the number of characters in a string.
The Count function returns the number of characters in a string.
Thanks so much @KenBuja