Hello,

I know the appending concatenating assignment operator:
$str_name = "Foobar";
$str_name .= " Sr";
echo $str_name;//Foobar Sr

But is there a shortcut assignment operator for prepending concatenation?

$str_name = "Foobar";
//$str_name =. "Mr ";
// i know this is not allowed, but is there some shorcut?
$str_name = "Mr " . $str_name;
echo $str_name;//Mr Foobar

Just curious.

Thanks,
dK
`

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to