Is there a way to use a reusable constant or expression rules instead of char(10) or char(13) function?

Certified Associate Developer

Is there a way to use a reusable constant or expression rules instead of char(10) or char(13) function directly in any expression/interface rules?

Example Code:


a!richTextDisplayField(
label: "",
labelPosition: "COLLAPSED",
value: a!richTextItem(text: "Hello " & char(10) &"world")
),

I need to replace Char(10) here with either a constant or expression rule, thanks.

  Discussion posts and replies are publicly visible