Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need a reorg for .NET Framework 4
Message
De
24/07/2010 14:11:14
 
 
À
24/07/2010 14:02:17
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01473537
Message ID:
01473705
Vues:
59
>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.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform