Is there a replicate function in PHP
| From: | Don | Date: | Fri, 21 Jun 2002 15:36:25 +0000 |
| Subject: | Is there a replicate function in PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-103291@lists.php.net to get a copy of this message | ||
Hi,
I'd like to print one or more specific characters many times. For example, let's say
I'd like to display the '*' 50 times on one line. Is there a function that will do
this? Something like:
? replicate('*',50);
Thanks,
Don