RE: [PHP] copy a string

2002-08-21 Thread MET

You want to copy a string to do what with it?  This answer to this would
help all of us help you.

~ Matthew

-Original Message-
From: Oskar Hermansson [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, August 21, 2002 11:32 AM
To: [EMAIL PROTECTED]
Subject: [PHP] copy a string


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



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




Re: [PHP] copy a string

2002-08-21 Thread Justin French

$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 ([EMAIL PROTECTED]) 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
 
 


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