473,378 Members | 1,377 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,378 software developers and data experts.

Chr$(13) in .NET?

Does anyone know how to do Chr$(13) in .NET?

Thanks,

Eddie
Jul 21 '05 #1
16 8771
Hi, Eddie

check Environment.NewLine

HTH
Alex

"Eddie B." <eb*****@earthlink.com> wrote in message
news:eW*************@TK2MSFTNGP09.phx.gbl...
Does anyone know how to do Chr$(13) in .NET?

Thanks,

Eddie

Jul 21 '05 #2
u still able to use VbCr and VbLf as they was available in VB6. They still
works fine
Jul 21 '05 #3
As posted on the other group;

Actually, System.Environment.Newline is equivalent to "\r\n".

Chr$(13) is "\r". Chr$(10) is "\n"

Jul 21 '05 #4
guy can be scared by your "\r" and "\n"

dude, dont forget, that guy asked for VB stuff, so back to earth.

well, my post above is valid for this case.
Jul 21 '05 #5
<spider/> wrote:
guy can be scared by your "\r" and "\n"

dude, dont forget, that guy asked for VB stuff, so back to earth.


.... somehow seems to imply that programming VB means one is ... less abled.

--
Konrad -
http://madrat.net/
Jul 21 '05 #6
Absolutely, if you're using VB.NET - no problem.

Jul 21 '05 #7
<spider/> <bo********@yahoo.com> wrote:
guy can be scared by your "\r" and "\n"

dude, dont forget, that guy asked for VB stuff, so back to earth.


Where did he ask for VB stuff, at least in this post?

The question was also posted in the C# newsgroup, btw, which is a
fairly good reason for Jimi to believe he's interested in C#.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #8
well, guys, you just have to pay attention to what people writing to
you.....
Jul 21 '05 #9
<spider/> <bo********@yahoo.com> wrote:
well, guys, you just have to pay attention to what people writing to
you.....


So where exactly *did* he ask for the solution in VB? As far as I can
see he only said ".NET" which is very different from "VB.NET".

The only other posts I can see from him in this newsgroup have been
non-language-specific.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #10
Jon,

Have a look at this and especialy to my question to crosspost next time, to
Edie

http://www.google.com/gr**************************************@news.free net.de

For the rest I agree

Cor
Jul 21 '05 #11
Cor Ligthert <no**********@planet.nl> wrote:
Have a look at this and especialy to my question to crosspost next time, to
Edie
I entirely agree that cross-posting (or just posting once in the most
appropriate group) would have avoided the problem.
http://www.google.com/gr**************************************@news.free net.de

For the rest I agree


So he posted in a VB.NET group as well. Given that he posted in a C#
group, it's not unreasonable of a person who reads a C# group but not
the VB.NET group to think that he might want it in C#. I think
<spider/>'s post was rather rude, considering that even within the
VB.NET group Eddie didn't specifically ask for "VB stuff".

This is obviously a good demonstration of how multi-posting causes
problems - but that's not (IMO) a good reason for <spider/> to have
been rude.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #12
well, i dont f*ing. care abour xposts and whatever, for last 12 years iv
seen more then enough stuff that makes people nervouse, for me it's just a
daily crap.

so guy, da stupid question is, have u ever seen, that c++ or c# had function
titled **Chr$()** and guy specified Chr$(13), not a &hd, not a 0x0D or
whatever, its was just bloody basic 13 with basic Chr$.

i just dont like messing arround, things are simple, its black or white or
dead or not, its not about being rude, im not, im just pissed off sometimes
about flaming for no reason.

u dont need to answer, i'm not going to do it anyway too.

have a good byte-messing.
Jul 21 '05 #13
How about a group hug?

--
William Stacey, MVP

"<spider/>" <bo********@yahoo.com> wrote in message
news:2g************@uni-berlin.de...
well, i dont f*ing. care abour xposts and whatever, for last 12 years iv
seen more then enough stuff that makes people nervouse, for me it's just a
daily crap.

so guy, da stupid question is, have u ever seen, that c++ or c# had function titled **Chr$()** and guy specified Chr$(13), not a &hd, not a 0x0D or
whatever, its was just bloody basic 13 with basic Chr$.

i just dont like messing arround, things are simple, its black or white or
dead or not, its not about being rude, im not, im just pissed off sometimes about flaming for no reason.

u dont need to answer, i'm not going to do it anyway too.

have a good byte-messing.


Jul 21 '05 #14
why not ;)
Jul 21 '05 #15
<spider/> <bo********@yahoo.com> wrote:
well, i dont f*ing. care abour xposts and whatever, for last 12 years iv
seen more then enough stuff that makes people nervouse, for me it's just a
daily crap.

so guy, da stupid question is, have u ever seen, that c++ or c# had function
titled **Chr$()** and guy specified Chr$(13), not a &hd, not a 0x0D or
whatever, its was just bloody basic 13 with basic Chr$.
That shows he's coming *from* a VB environment. There are plenty of ex-
VB programmers who are no using C#.
i just dont like messing arround, things are simple, its black or white or
dead or not, its not about being rude, im not
Yes, you were rude. You suggested that people weren't paying attention
when they were - they just weren't reading all the groups you were,
just as you weren't reading all the groups they were.
im just pissed off sometimes about flaming for no reason.


That's exactly what I'm annoyed about too - you flamed Jimi (slightly)
for no good reason.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #16
Hi Spider,

You cannot say that Jon and I have often the same idea's and in my opinion
that rude is a little bit overdone. It is in my opinion more that not every
bird has the same note.

However with the point I think he is right, I have always fun arguing with
Jon, so I was thinking first it is CHR so it is VB. However thinking that
Edie would have known the C# equivalent for this is very obvious, so I did
not tell that.

:-)

Cor
Jul 21 '05 #17

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Christian Christmann | last post by:
Hi, I want to read a file line by line and tokenize the content. My code: ifstream Configuration; Configuration.open("config.cfg"); // assume that max. length of line in configuration file...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.