Multi-line expression in Expression Editor

Hi, how do I key in multi-line expressions in the Expression Editor? E.g. strings that require many concatenations that are very hard to read if placed all in one line

Hi @DEATHFISH

Try to use space and underline as end of pervious line, like below.
If(a>4,β€œ4”, _
If(a>3,β€œ3”, _
If(a>2,β€œ2”, _
If(a>1,β€œ1”, β€œ0”))))

If you have one string is too long, use & to express it in multi-line as follows.
β€œUiPath” _
& β€œStudio”

Sometimes, underline can be omitted.

2 Likes