note 66818 deleted from language.types.string by colder
| From: | colder@php.net | Date: | Tue, 17 Oct 2006 18:32:29 +0000 |
| Subject: | note 66818 deleted from language.types.string by colder | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-118653@lists.php.net to get a copy of this message | ||
Note Submitter: umeetsriram at yahoo dot com
----
The string can be viewed as an array.
if i say $str = 'string'
echo $str[0] // will print s
echo $str[1] //will print t
It cannot be used as double dimentional array.
If the string is appended with an array
$str.array(1,2);
echo $str will output stringArray
echo $str[6] will print 'A'