PDA

View Full Version : String Max Length?


ranxbar
07-26-2009, 06:18 PM
Hi there,

I'm using AS 3.0 (Flex 3.0.2) and writing some code that pulls data from access file via webservice. I was wondering what is the maximum size (string length) of a "string" type var? (how many Chars can be in one "String")?

The pulled text from the access file is memo type field.

Thanx :p

wvxvw
07-27-2009, 10:09 AM
Technically, it should be 0x7FFFFFFF characters, but, practically, I never checked, try concatenating strings and trace the resulting length in a loop, when you see the wrong result you'll know you found it ;)

ranxbar
07-27-2009, 07:16 PM
That's what I thought. Thanks! :)

elamukil
07-28-2009, 03:42 PM
Hi Ranxbar,
can you share us with the code snippet once you are done. so that it will be helpful for us.