Skip to main content
Navigator | Tier 3
March 3, 2022
Question

Asign a line break to String

  • March 3, 2022
  • 2 replies
  • 1796 views

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
    Navigator | Tier 3
    March 3, 2022

    Hi @Erika Jaramillo​ ,

     

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

     

    imageimage 

    Kind Regards,

    Ashwin A.K

    Blogs at TheCodingTheory - https://www.thecodingtheory.com
    Automation Anywhere Team
    March 3, 2022

    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