Re: Replicate string or something similar
| From: | lallous | Date: | Tue, 20 Aug 2002 11:32:23 +0000 |
| Subject: | Re: Replicate string or something similar | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-113307@lists.php.net to get a copy of this message | ||
$str = str_pad('', 254, 'A');
"Saci" <nospam@bol.com.br> wrote in message
news:20020820030410.64488.qmail@pb1.pair.com...
> In ASP I use the expression myvar = string(254,"A")
>
> to have a var filled with 254 characters 'A'
>
> What is the similar one in PHP?
>
>
>