Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Nikhil Shravage
2544
Views
4
Comments
Newline character issue.
Question
Hi !
How am I supposed to give a new line chcrater in x.y expression editor.
I have tried as follows:
"first sentence" + "\n" + "second sentence".
"first sentence" + "\\n" + "second sentence".
But, neither of them worked.
Any hints ?
Thanks!
Pedro Filipe Manuel
Staff
Hi Nikhil,
You can use the builtin function newline():
"first sentence"+newline()+"second sentence"
Thanks,
Pedro
Gonçalo Martins
Staff
Hello
Nikhil,
Just
wanted to
add a little detail, which is the need to set the expression "Escape Content" property
value to "True", so that all markup sensitive characters can be translated into a web safe format.
Best Regards,
G.Martins
Rebecca Hall
If the Escape Content property is True, then you can use html such as "<br>" in the text for line breaks.
Nikhil Shravage
Thanks Rebecca Hall, Gonçalo Martins, Pedro Filipe Manuel !!
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...