Sep 11, 2003 #1 M Mehyar Junior Contributor Joined Jun 9, 2003 Messages 371 Location Lebanon Guys, What is the maximum number of characters a string variable can hold ??? Thx in advance
Sep 11, 2003 #2 D dynamic_sysop Senior Contributor Joined Oct 1, 2002 Messages 1,039 Location Ashby, Leicestershire. isn't it around 2gig, i know it's a very large figure going from memory.
Sep 11, 2003 #3 M Mehyar Junior Contributor Joined Jun 9, 2003 Messages 371 Location Lebanon Well, I dont know about the size... I was looking for how many characters it can handle
Sep 11, 2003 #4 P PlausiblyDamp Administrator Joined Sep 4, 2002 Messages 6,471 Location Lancashire, UK If it's 2G of memory then it's half as many characters.
Sep 11, 2003 #5 M Mehyar Junior Contributor Joined Jun 9, 2003 Messages 371 Location Lebanon 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??
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??
Sep 11, 2003 #6 P PlausiblyDamp Administrator Joined Sep 4, 2002 Messages 6,471 Location Lancashire, UK Sounds about right. Probably not the most memory efficient way of doing things though
Sep 11, 2003 #7 M Mehyar Junior Contributor Joined Jun 9, 2003 Messages 371 Location Lebanon Thx a million...