469,964 Members | 1,678 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,964 developers. It's quick & easy.

Line-feed, return character

Hello,

Could someone remind me of how to insert a line-feed/return character, please?

I have used it before, but I can't recall what it is. What I'm looking for IS NOT an escape character (i.e. /n, /r).

The expression that I'm looking for uses the dot operator (.) (i.e. classname.property).

Perhaps this will help to explain what I'm looking for: I want to fill in the "blank" in the line below.

MessageBox.Show("First line." + ______ + "Second line.");

Thank you in advance!

-Rodney
Nov 16 '05 #1
2 4433
Paul wrote:
Hello,

Could someone remind me of how to insert a line-feed/return
character, please?

I have used it before, but I can't recall what it is. What I'm
looking for IS NOT an escape character (i.e. /n, /r).

The expression that I'm looking for uses the dot operator (.) (i.e.
classname.property).

Perhaps this will help to explain what I'm looking for: I want to
fill in the "blank" in the line below.

MessageBox.Show("First line." + ______ + "Second line.");

Thank you in advance!


That's Environment.NewLine.

Cheers,

--
Joerg Jooss
www.joergjooss.de
ne**@joergjooss.de
Nov 16 '05 #2
"Paul" <rp***@hotmail.com> wrote:
I want to fill in the "blank" in the line below.
MessageBox.Show("First line." + ______ +
"Second line.");


You're thinking of Environment.NewLine, which is "\r\n" under Windows.

P.
Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by jamait | last post: by
13 posts views Thread by programming | last post: by
reply views Thread by 7stud | last post: by
11 posts views Thread by xdevel | last post: by
10 posts views Thread by Itaichuk | last post: by
1 post views Thread by rainxy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.