Re: append a string var with another string
| From: | Five | Date: | Wed, 25 Feb 2004 20:14:12 +0000 |
| Subject: | Re: append a string var with another string | ||
| References: | 1 | Groups: | php.test |
| Request: | Send a blank email to php-test+get-606@lists.php.net to get a copy of this message | ||
Use a string operator ie: " .= "
"Five" <primeooze@hotmail.com> wrote in message news:20040225160234.82460.qmail@pb1.pair.com...
> I've been looking through srting functions for an hour and now know how to do everything
> besides what I need to do.
>
> I have an arrray of strings. I want to append another string to a string in one element of the
> array. I'd just do it this way (or
> something like it) but I can't get it to work:
>
> array[3] = array[3] + "more string";
>
> It doesn't seem to work like C, java or javascript languages.
>
> Thanks,
> Dale