RE: [PHP] +=
| From: | Daniel Kushner | Date: | Mon, 19 Aug 2002 19:21:23 +0000 |
| Subject: | RE: [PHP] += | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-113250@lists.php.net to get a copy of this message | ||
$string = 'Hello';
$string .= ' World';
Regards,
Daniel Kushner
_____________________________________________
Need hosting? http://www.thehostingcompany.us
> -----Original Message-----
> From: Alexander Ross [mailto:alexross@bleen.net]
> Sent: Monday, August 19, 2002 3:22 PM
> To: php-general@lists.php.net
> 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
>
>