Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Maximum length of a string variable
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
00974763
Message ID:
00974782
Vues:
16
Michel,
I can't find any reference to a maximum string length (like I think there was/is in VFP). I ran the following code and it worked:
System.String myString = "";
for (int i = 0; i< 100000;i++)
{
	myString = myString + " ";
}
That beeing said I would reccomend using the StringBuilder for most string operations (especially the operation I did in the above example <s>)

Einar

>What is the maximum length of a string variable in VB.NET?
Semper ubi sub ubi.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform