Reputation: 7661
Is there a limit on the size a string variable can grow in ASP classic?
Upvotes: 3
Views: 9877
Reputation: 98868
The String.Length
property returns an int
, so the maximum length of a string is
Int32.MaxValue()
= 2,147,483,647 characters. Practically this will probably
mean that you can make your string as long as you have memory available to
put it in.
Upvotes: 0
Reputation: 171589
A string variable can contain from 0 to approximately 2 billion Unicode characters.
References:
http://msdn.microsoft.com/en-us/library/hhw1f6w5(v=vs.80).aspx
http://msdn.microsoft.com/en-us/library/9e7a57cf(v=vs.85).aspx
Upvotes: 7