actually I am writing on a tool to export/import groups/users/policies etc. for the new project I am part of (some kind of test center).
I build an array of groups from a file created by the obvious tools the following (simplified) way:
Code:
->loop
-> readline
-> if instr(line,"*")
-> string = string + right(line,-1) + chr(10)
-> endif
->/loop
string = left(string,-1) ;strip last chr(10)
array = split(string,chr(10))
in this szenario (3200+ groups) the string grows over 32000 characters in length, no problem!
From the array i build then an ini file with the elements as sections containing the group's descriptions as keys.
Now the problems start. On importing I do a readprofilestring on the sections of this ini file like:
Code:
string = readprofilestring(ini,"","")
string = left(string,-1) , strip last chr(10)
array = split(string,chr(10))
One should think that this works too as the both strings should contain the same data, but the 32000 character limit seems to apply only to readprofilestring as this craps out with 'Expression too long'; Which I kinda can't accept as the first way of creation works ok 
Is there any known workaround to this ?
My other option would be to split the ini file in parts of 1600 sections per file, which I consider a pain