How can you add two strings together in CGI? like...
That'd be the C++ equivilent. How do you do it in CGI?Code:$var1 = "dude";
$var2 = ", where's my car!?";
$var3 = $var1 + $var2;
Printable View
How can you add two strings together in CGI? like...
That'd be the C++ equivilent. How do you do it in CGI?Code:$var1 = "dude";
$var2 = ", where's my car!?";
$var3 = $var1 + $var2;
In PHP the operator is ., perhaps it's the same in CGI...?
I remember that now! Thanks, Arien.
Uhm, CGI isn't a language. If you are using Perl, the string concatenation operator is the period.
Uhm, I never stated it was.
CGI is most commonly associated with perl. I never said my terminology was perfect either. In fact, I admitted I didn't know what the term was for doing this right in the subject of the post.
Get off my back.
And I already figured this out. So stop answering my questions after they've already been answered.
it's concatenation, just for your info :)Quote:
Originally posted by The Hobo
In fact, I admitted I didn't know what the term was for doing this right in the subject of the post.
woo! got the first four letters :)