Re: [Exim] concatenation of two strings?

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Philip Hazel
Datum:  
To: Tamas TEVESZ
CC: yammy, exim-users
Betreff: Re: [Exim] concatenation of two strings?
On Tue, 2 Jul 2002, Tamas TEVESZ wrote:

> On Tue, 2 Jul 2002, yammy wrote:
>
> > is it possible to concat two strings?
> > i need this in order to quote (mysql_quote) them.
> > in detail i need ${local_part}@${domain} quoted for mysql.
>
> ${quote_mysql:$local_part}@${quote_mysql:$domain}
>
> not exactly a concatenation, but the net result is pretty much the
> same.


Er, why not just use the obvious?

${quote_mysql:$local_part@$domain}

Am I missing something here? [If you like lots of curlies, you can use

${quote_mysql:${local_part}@${domain}}

if you really want to.]

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.