<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
On 1/29/11 6:26 AM, Lee Archer wrote:
<blockquote
cite="mid:B916037C74E10442982E494BA3F108F612DCE874@MAIL1.thebigword.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="MS Exchange Server version
6.5.7654.12">
<title>Joining strings</title>
<!-- Converted from text/rtf format -->
<p dir="LTR"><span lang="en-gb"><font face="Calibri">Hi, is it
possible to join strings? I’d like to</font></span><span
lang="en-gb"> <font face="Calibri">prepend a number to a
string prior to processing it to an int?</font></span></p>
<br>
</blockquote>
using + with variables/values holding strings results in
concatenation:<br>
<br>
$var(x) = "123";<br>
<br>
$var(y) = "abc" + $var(x);<br>
<br>
Then the $var(y) will be "abc123";<br>
<br>
Cheers,<br>
Daniel<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
</body>
</html>