Inserting NewLine (line break) into resource string

  • Thread starter Thread starter Penelope Dramas
  • Start date Start date
P

Penelope Dramas

Hello,

I'm having problem inserting line break into one of the strings located in
project resource.

I've tried "Line1/nLine2" (from C#) and it wouldn't work. Tried Line1 +
Environment.NewLine + Line2 also no luck.

Is there any workaround even if it involves editing resources.xml file
directly.

Thanks,

Pen D.
 
Being a VB group, maybe strLine1 & vbCrLf & strLine2
where strLine1 and strLine2 are your 2 string variables.

Tony K

ps: Wouldn't C# use the \n (backslash n) not the forwardslash / ?
 
Back
Top