Re: concatenation operator...?
| From: | Ivo Jansch | Date: | Wed, 27 Jun 2001 07:26:20 +0000 |
| Subject: | Re: concatenation operator...? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1014@lists.php.net to get a copy of this message | ||
Hi,
Andrei Zmievski wrote:
> operator'. Something like this might be achieved via modifiers, but that
> means we'd have to allow applying modifiers to static strings:
> {"Admin - "|concat:$title}
Andrei, there's no need to invent static string modifiers.
This can be achieved with the current features if you implement just one
simple custom modifier:
{$title|prepend("Admin - ")}
Greetings,
Ivo
--
Ivo Jansch <ivo@ibuildings.nl>
ibuildings.nl BV - information technology
http://www.ibuildings.nl