Max length of string

bpayne111

Well-known member
Joined
Feb 28, 2003
Messages
326
Location
BFE
Is the max length of a string 255 characters? i know its a dumb question i just cant seem to find it in help.

brandon
 
I have in a book here:
"Usually 16-bits per character - Range: 0 to apprx. 2 billion 16bit Unicode characters"

Does that help?
 
Assuming the Length property of a string is an accurate measurement of the strings maximum length (its an int), you can use Int32.MaxValue (around 2 billion as BOC mentioned).

-Ner
 
yes thank you thats what i wanted... i had to go to the basics of datatypes to find it (in other words i should have looked harder before i posted this)
 
Back
Top