$string = 'Hello';
$string .= ' World';

Regards,
Daniel Kushner
_____________________________________________
Need hosting? http://www.thehostingcompany.us




> -----Original Message-----
> From: Alexander Ross [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 19, 2002 3:22 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] +=
> 
> 
> Is there a += equivilant for strings??
> 
> $string = "Hello";
> $string += "world.";
> 
> I know that
>   $string = $string." world.";
> would work, but I keep having to do it.  Is there a shortcut?
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

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

Reply via email to