Tried this:

code:
$string1 = "1"
Do
$string1 = $string1 + 1
$rc = Len($string1)
?$rc
Until $rc = "32000"
?$string1

And stopped getting a value out of $string1 at 30704.

Patrick:
How did you get your 31920?
I guess I did sort of the same you did?

Totally different values. Maybe this is not the way to find out max string length.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.