• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question on the String max size

 
A Chavda
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
could any one tell me what is the maximum size for the string . To my opinion its 2^16 that is 65536 bytes. Also string is the sequence of char array. So i need to know 65536 bytes means string value can be of 65536 characters.

Take an example I have a string variable and says that it should be of 255 max size. should i consider this as 255 characters value.

Please clear my doubts

Thanks in advance
Anvi
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Anvi",
Please check your private messages regarding an important administrative matter.
-Ben
 
fred rosenberger
lowercase baba
Bartender
Pie
Posts: 12100
30
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, we have this neat "search" feature at the top of (almost?) every page. I search this forum for "String max size", and in about 2 seconds, found this thread.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic