Zum Hauptinhalt gehen

Carriage Return/Line Feed

Kommentare

6 Kommentare

  • Permanently deleted user

    Hi Roger,

    To get vb syntax to work you have to go to the Imports tab (along the bottom beside Variables and Arguments), and import Microsoft.VisualBasic. Then you should be able to use vbCrLf etc.

    -Victoria

    0
  • Permanently deleted user

    Thank you.  To those who read this post later, I had to open the Imports tab at the bottom of Workflow Designer, then click the drop-down box at the top of the list, then select Microsoft.VisualBasic, and then it got added to the list below.  Now vbCrLf is an acceptable constant in string expressions in Workflow.  Thanks!

    0
  • Permanently deleted user

    Thanks for taking the time to explain your solution!

    0
  • Permanently deleted user

    Use Enviroment.NewLine (this is C# but pretty sure it's in VB too)

    0
  • Permanently deleted user
    Hi, 

     

    I've tried Microsoft.VisualBasic and other method but nothing worked.

     

    I wanted to personalize the message box with a newline . If anyone can helpme, can be fine!

     

    Thank you

     

    _img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=907f2000000kA11&feoid=Body&refid=0EMf2000000fyEA"_/_img_

     

    _img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=907f2000000kA11&feoid=Body&refid=0EMf2000000fyEF" _/_img_
    0
  • Tom Neer
    Use "Environment.NewLine": "This is line 1" + Environment.NewLine + Environment.NewLine + "This is line 2" - or - string.Format("first line{0}second line", Environment.NewLine)

     

     
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.