Re: [SMARTY] Padding Strings
| From: | David Förster | Date: | Sat, 13 Mar 2004 09:37:09 +0000 |
| Subject: | Re: [SMARTY] Padding Strings | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11113@lists.php.net to get a copy of this message | ||
> What is the easiest way to pad a string in smarty?
Just embed the smarty-var in the string:
--{$myVar}--
works also in loops ;)
- david