Re: copy a string
| From: | Justin French | Date: | Thu, 22 Aug 2002 02:10:05 +0000 |
| Subject: | Re: copy a string | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-113556@lists.php.net to get a copy of this message | ||
$str = "foo foo";
$str_copy = $str; // a copy of $str
Unless of course you want to return a portion of a string, a certain word, a
modified string, etc etc, in which case you'd need to check out all the
string functions in the manual, and tell us what you wanna do.
Justin
on 22/08/02 1:32 AM, Oskar Hermansson (rockow@telia.com) wrote:
> Hello!
>
> Is there any function to copy a string into the computers memory (just
> like you do when you press "ctrl + c" in, for example Internet
> Explorer). Is there any way to do this, just using PHP or JavaScript?
> Maybe by using the function system()? Note that i dont want to copy a
> file, just a string.
>
> Anyone got a solution to this problem?
>
> Im very grateful for any help i can get!
>
>
>
> With Regards,
>
> Oskar Hermansson,
>
> Sweden
>
>