Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Maximum length of a string variable
Message
 
To
06/01/2005 13:35:57
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
00974763
Message ID:
00974782
Views:
18
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform