Solved

Environment.NewLine

Posted on 2009-05-19
3
402 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

707 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

18 Experts available now in Live!

Get 1:1 Help Now