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

Are there two ways to do a carrage return...?

Jay
Recieving data from an IRC server the controlchars.newline works to seperate
some pieces of data into their own lines. However it doesnt always work and
some whole pices of dat are LEFT OUT of the string array.

is there a known bug in the split function, or are there two ways to do
carrage returns? (new lines)
Nov 20 '05 #1
5 1365
* "Jay" <mr********@cinci.rr.com> scripsit:
Recieving data from an IRC server the controlchars.newline works to seperate
some pieces of data into their own lines. However it doesnt always work and
some whole pices of dat are LEFT OUT of the string array.

is there a known bug in the split function, or are there two ways to do
carrage returns? (new lines)


Have a look at the response in a hex editor to see what characters are
used for line separation.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2
Hi Jay,

What mostly is used for a new line:
linefeed (dec 10)
or
cariage return (dec 13)
or
cariage return line feed (dec 13,10)

I hope this helps a very little bit?

Cor
Recieving data from an IRC server the controlchars.newline works to seperate some pieces of data into their own lines. However it doesnt always work and some whole pices of dat are LEFT OUT of the string array.

is there a known bug in the split function, or are there two ways to do
carrage returns? (new lines)

Nov 20 '05 #3
Hi Jay,

Please stay in the original threads, now I see that Herfried did already
answer your question in another thread.

Cor
Nov 20 '05 #4
Jay
It's been my experience that threads with answeres already in them (or
threads that appear to have answeres) are typically ignored.
"Cor Ligthert" <no**********@planet.nl> wrote in message
news:ub**************@TK2MSFTNGP11.phx.gbl...
| Hi Jay,
|
| Please stay in the original threads, now I see that Herfried did already
| answer your question in another thread.
|
| Cor
|
|
Nov 20 '05 #5

"> It's been my experience that threads with answeres already in them (or
threads that appear to have answeres) are typically ignored. | Please stay in the original threads, now I see that Herfried did already
| answer your question in another thread.


Hi Jay,

That is sometimes right, in some newsgroups frequently, however in this
newsgroup seldom. While I know that there are more by instance Csharp,
Adonet, General, which with telling those I am not saying that it is in
others not the same as with this, however from those I am not sure.

However, when that not wanted behaviour happens and you make a new message
tell that and a make as well a reference to your original message. Than the
one who answers you, start not completely new.

You have the change by doing it as now, that you will be ignored in time by
a lot of the regulars, the best thing to get good answers is by giving feed
back on your original question if it did help or not.

Than you will see that regulars will take more time, because they learn as
well from your answer back.

Cor


Nov 20 '05 #6

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

Similar topics

4
by: Sidharta | last post by:
Hi all, how come this doesn't work????? # convert to unix new lines $text = preg_replace("/\r\n/", "\n", $text); # remove extra new lines $text = preg_replace("/\n+/", "\n", $text); is...
13
by: J. Campbell | last post by:
I'm wanting to output a text header file in front of the data portion of an output file. However when I use "\n" or "endl" as end of line, it just puts a 0x0a in the file(which is...
3
by: new | last post by:
Question: What would be the best way to add carrage returns to a record, and would my method create alot of overhead and wasted space. What would be the best method to minimize overhead and wasted...
1
by: Frank | last post by:
Dumb question. Thanks to help from this group I have crteated text file resulting from an xml transformed by an xsl file. I need to imbed a carrage return to separate the element values. None of...
2
by: Chua Wen Ching | last post by:
I believe each ways below will produce the same results. But may i know which one will be better and encourage to be used. Sample1: class Animal { public void GetWeight() { }
3
by: Oliver Bleckmann | last post by:
hey, which ways are available i c++ to return multiple values i know u can use structs, any other methods? concrete question: i want to do sth. like this: returning two strings into stringvars...
0
by: raylopez99 | last post by:
Inspired by Jon, I did a demo prorgram showing three ways to declare predicates, in for example the "FindIndex" and "FindLastIndex" methods of Lists, but in general you can do this for any...
9
by: raylopez99 | last post by:
Here are two different ways of achieving a mediator pattern: the first, using circular references (for lack of a better way to describe it), but not using delegates, with the second using...
2
by: O.B. | last post by:
I have operation within a class that marshals the data into a byte array. Below are three different ways that work. Are there any downsides to using one over the the other? public virtual byte...
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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.