RE: [PHP] Append to begining of a String
| From: | Dana Freer | Date: | Tue, 20 May 2003 08:46:19 +0000 |
| Subject: | RE: [PHP] Append to begining of a String | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148268@lists.php.net to get a copy of this message | ||
How about...
$mystring = 'something at the beginning' . $mystring;
// '.' is the concatenation operator
Hope this helps.
-----Original Message-----
From: Shaun [mailto:shaun@mania.plus.com]
Sent: 20 May 2003 09:33
To: php-general@lists.php.net
Subject: [PHP] Append to begining of a String
Hi,
how can I add something to the beginning of a string?
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php