Using Arcade, you can use the Split function to divide the text at the space. Construct a text string using the first value with formatting tags. Then, if there is a second value (most of rows in your table don't), add that value to the string
var arr = Split($feature.NAME, " "); var output = `<FNT size = '20'>${arr[0]}</FNT>`; if (Count(arr) > 1) { output += ` <FNT size = '12'> ${arr[1]}</FNT>`; } return output;
Thank You So Much~~~~
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.