Skip to main content
Question

Asign a line break to String

  • Mar 3, 2022 12:05 AM UTC
  • 2 replies
  • 1841 views

Forum|alt.badge.img

Hi friends!

 

How could I assign a line break to string?

I want asign something like this:

 

Jazz

Rock

Blues

 

I'm trying with ASCII 10 but doesn't works.

Thank you.

2 replies

Ashwin A.K
Forum|alt.badge.img
  • Navigator | Tier 3
  • Mar 3, 2022 5:24 AM UTC

Hi @Erika Jaramillo​ ,

 

Could you try using the system variable $String:NewLine$?

 

imageimage 

Kind Regards,

Ashwin A.K


Forum|alt.badge.img+1

Hi There,

 

You can use the Pre-defined String Variable: Newline to introduce a line break.

 

Here is a demonstration of that with custom string variables in a Message BoxNewLine