Solved

Environment.NewLine

Posted on 2009-05-19
3
403 Views
Last Modified: 2013-12-17
Hi

If Environment.NewLine is for new line

Is there anything for Tab
0
Comment
Question by:KaranGupta
  • 2
3 Comments
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 24428953
the tab, in the string, is marked like this:
"\t"
0
 

Author Comment

by:KaranGupta
ID: 24428987
Yes

we can use \n for new line but .net gives is Environment.NewLine

Is there something like that for tab
0
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
ID: 24429062
no.

the newline is in the environment, because it depends on the "environment", aka the platform compiled.
on windows, the newline is actually newline + carriage return: \n\r, on unix it's only \n.

tab is everywhere tab, so not depending on environemtn,.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now