How do i add one string to end of other.
$a="kana"
$b="sika"
what clause i put to get $c to have "kanasika" for it's value
Strings
Moderator: General Moderators
like this
The concatenation operator is what you need.
Mark
Code: Select all
$a="kana";
$b="sika";
$c = $a.$b;
print $c;Mark
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK