escape sequence \n

  • Thread starter Thread starter marcia
  • Start date Start date
M

marcia

How can I display parts of a string one line after the
other using a Label in a WebForm ... or otherwise?
 
What I'd really like to do is take

Label1.Text = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";

and display portions of the strings on seperate lines ...

something like

Label1.Text = "xxxxxxxx" + ??? + "xxxxxxxx" +
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top