Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how long can strings be?

Status
Not open for further replies.

JesseM1

Programmer
Mar 15, 2006
5
US
How long can a System.String be? I know that the Length() method returns a signed Int32, so it probably can't exceed 2^31 (2 billion something) characters.

Does anyone know if its length is further restricted to a smaller maximum?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top