Re:Max String size
"Cenk" <
XXXX@XXXXX.COM >wrote:
Quote
How many characters can I insert into a String at most?
That depends on how big the objects is to begin with. Since
you said "String", I'll assume that you ment AnsiString
because String is a typedef for AnsiString.
AnsiString uses 13 bytes for the underlying object and then
a byte for each character in the string. The biggest that an
AnsiString can be is that of a signed int (2GB) but since it
uses 13 bytes the max number of characters is 2GB - 13.
~ JD