>Something odd here: In your original message as I see it there's a line that says:
>"But, I would like to understand the use of .ToCharArray()." but it doesn't get reproduced in this reply ?
Basically, there is a weird behavior with the Split() method. Based on my test, it cannot split on more than one character. If we would split on a delimiter character, such as /, # or $, for example, that would work. But, a carriage return is usually a CR+LF. So, it splits. But, it adds the LF as the first character of the line. This doesn't occur on the first line however as there is no previous line before that one. The only way I have found to make it work so far is by scanning all the lines, generated by the Split(), and removing all LF in front.