Skip to main content
Solved

Is it possible to put the Enter in the formula?

  • December 10, 2020
  • 2 replies
  • 23 views

Forum|alt.badge.img+9

Is it possible to put the Enter key in the formula? I tried the Enter key code (^p, it is Enter key code in the Word) , but it didn’t work.

I want to implement the following display:
EU Community Legislation:
RED 2014/53/EU, RoHS Directive 2011/65/EU (10), RoHS Directive (EU) 2015/863;
Product Standards:
EN 301 489-1 V2.2.3, EN 301 489-17 V3.2.4, EN 300 328 V2.2.2, EN 301 893 V2.1.1, EN 62311:2008, EN 62368-1:2014/A11:2017;
Adapter Standars:
NA


Best answer by Justin_Barrett

The fairly-universal escape code for a newline is \n. Here’s a quick example:

"First Line\nSecond Line\nThird Line"

This produces:

First Line
Second Line
Third Line

Insert that newline escape code anywhere in a string where you want a line break.

2 replies

Justin_Barrett
Forum|alt.badge.img+21
  • Inspiring
  • Answer
  • December 11, 2020

The fairly-universal escape code for a newline is \n. Here’s a quick example:

"First Line\nSecond Line\nThird Line"

This produces:

First Line
Second Line
Third Line

Insert that newline escape code anywhere in a string where you want a line break.


Forum|alt.badge.img+9
  • Author
  • Known Participant
  • December 11, 2020

The fairly-universal escape code for a newline is \n. Here’s a quick example:

"First Line\nSecond Line\nThird Line"

This produces:

First Line
Second Line
Third Line

Insert that newline escape code anywhere in a string where you want a line break.


Thank you very much :smiling_face_with_three_hearts: