Solved! Go to Solution.
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;
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~~~~