Hi, Tuesday, August 20, 2002, 1:04:12 PM, you wrote: S> In ASP I use the expression myvar = string(254,"A")
S> to have a var filled with 254 characters 'A' S> What is the similar one in PHP? Try this: $string = array(); $string = array_pad($string,254,'A'); -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php