new line

Hello, can anyone suggest me how to add a new line in appian?

Code:

user(loggedInUser(),"firstName")
& " " &
user(loggedInUser(),"lastName")
& " " &
user(loggedInUser(),"email")

The output should be:

Beast Hulk

green.hulk@avengers.com

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to Chris

    char(10) versus char(13) is a little more confusing IMHO.  to me the winner is char(10), as the use and the treatment of char(13) is highly inconsistent.  from what I've found over the years (and through the fuzzy memory filter a bit here), some elements return char(10) + char(13) when a line break is entered, and other places only insert a char(10).  in almost all cases that i've seen, char(13) is ignored upon rendering, at least in modern SAIL forms. 

    AFAIK the last place I knew of where char(13) was added to input text was in the paragraph field component of the legacy tempo forms (*shudder*), and anyone who doesn't know what i'm referring to, count your blessings and keep on walkin' (trust me).

Children