Max characters in a string

Ok i am a little bit confused about this....

So you are saying that i can have 1 Gigabyte of characters
And a character is 2 bytes
so a string may hold 10^9 / 2 which is 500 million characters..

So i can put up to 500 million characters in a string is that right??
 
Back
Top