help with strings...
| From: | Stig-Ørjan Smelror | Date: | Fri, 31 Aug 2001 07:35:19 +0000 |
| Subject: | help with strings... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-65421@lists.php.net to get a copy of this message | ||
Hei all.
I've got this string, $string = "test"; and I want to make a $t; out of $string.
Is this possible?
I tried ${substr($string, 0, 1)}, but that didn't work ;)
Any help appreciated.
TIA.
--
Stig-Ørjan Smelror
Systemutvikler
Linux Communications AS
Sandakerveien 48b
Box 1801 - Vika
N-0123 Oslo, Norway
tel. +47 22 09 28 80
fax. +47 22 09 28 81
http://www.lincom.no/