[SR-Users] Joining strings
Daniel-Constantin Mierla
miconda at gmail.com
Sat Jan 29 18:16:22 CET 2011
Hello,
On 1/29/11 6:26 AM, Lee Archer wrote:
>
> Hi, is it possible to join strings? I'd like toprepend a number to a
> string prior to processing it to an int?
>
>
using + with variables/values holding strings results in concatenation:
$var(x) = "123";
$var(y) = "abc" + $var(x);
Then the $var(y) will be "abc123";
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20110129/fd3fcb11/attachment.htm>
More information about the sr-users
mailing list