473,326 Members | 2,133 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Environment.Newline Vs. ControlChars.Newline?

yoda
291 100+
Quick Question, in class today we were learning something to do with newlines, but the teacher didn't explain the difference between Environment.newline and ControlChars.newline, she was wondering as well because the text book uses Environment and she's always used ControlChars.

Can some one possibly explain the difference between the two? And When you would use one or the other?

Thanks,

Yoda.
Sep 29 '11 #1
0 1120

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Raymond Lewallen | last post by:
I have tried everything to get a newline character into a datatable to no success. I'm trying to add the following to a column in a datatable: sb.append("A") sb.append(ControlChars.NewLine)...
8
by: kerberoz | last post by:
whats the equivalent following ControlChars.Lf, ControlChars.Cr, ControlChars.CrLf code in vb.net
29
by: runningdog | last post by:
Hi, I would like to be able to embed a newline in a text string. Is there any convienent notation to do this TIA Steve
8
by: Jm | last post by:
Hi all Is there a way to search a string and count the amount of newline or crlf's that are inside it ? Under vb6 i could search for vbcrlf using Instr and a loop. Is there a similar method...
5
by: Claud Balls | last post by:
if I read the following into a variable: 010203 020103 030201 could I use something like instr(variable,/n & "02") to return the position where 02 starts the line?
3
by: Thomas Beyerlein | last post by:
Is there a way to put some of the text typed into a messagebox string on a new line? This is for user readability only. Thanks Tom *** Sent via Developersdex http://www.developersdex.com...
1
by: linq936 | last post by:
Hi, I read in many places that the string to be outputted by printf() must be ending with newline, for example, it should be printf("Hello World.\n"); instead of printf("Hello World.");
3
by: Lou | last post by:
Which is more efficient? -Lou
5
by: alex21 | last post by:
I am trying to write a function for determining the data type of columns in a delimited file. However my function is not detecting a newline and exiting the loop after the end of the first line. ...
2
by: alex21 | last post by:
The string is coming from this url, http://www.elixirwd.com.au/test.php The Username and Password for this url is, Username:user Password: password Now simply downloading the data using the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.