I am using arcgis online and trying to label and filter out duplicate names.
My plan is to use the split to trim the labels from "AS7634_Lisbon" to "Lisbon"
Trim(Split(DomainName($feature, 'name'), '_')[-1]) - It worked like a charm!!
but I don't know how to combine this with the: