I have fields with names in the format last, first, middle initial. I would like to display them as first, ME, last. Is this possible in Arcade using the Split function?
How is your data formatted? If it's in a field as "Smith, John A" then you can use
var arrName = split($feature.name, ",")return arrName + " " + arrName
This returns "John A Smith"
There's no comma just spaces, but this works. Thanks!
Glad to help. Don't forget to click the "Mark Correct" button.
Retrieving data ...