I'm trying to label polygons using two separate fields. I would like this to show on two separate lines. In desktop I use the vbnewline command. Is there an equivalent in Arcade?
Did this ever get resolved? Will it work in the expression builder now?
Update: I just tried this and unfortunately it doesn't work. Strangely, the TextFormatting.NewLine option is available under the "Constants" tab, but when you click the help button you get this message even though the test box is showing it as working:
The odd thing I have noticed is that even using Python's "\r\n" at the end of each line will give the correct preview but once you accept the expression the text returns to a single line in map.
Having the same issue here. TextFormatting.NewLine works as it should in the preview, but once you accept the expression the text returns to a single line of text in the map.