note 66818 added to language.types.string
| From: | umeetsriram at yahoo dot com | Date: | Tue, 30 May 2006 11:03:06 +0000 |
| Subject: | note 66818 added to language.types.string | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-112533@lists.php.net to get a copy of this message | ||
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'
----
Server IP: 64.71.164.2
Probable Submitter: 61.14.17.133
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/language.types.string.php
Edit -- http://master.php.net/note/edit/66818
Del: integrated -- http://master.php.net/note/delete/66818/integrated
Del: useless -- http://master.php.net/note/delete/66818/useless
Del: bad code -- http://master.php.net/note/delete/66818/bad+code
Del: spam -- http://master.php.net/note/delete/66818/spam
Del: non-english -- http://master.php.net/note/delete/66818/non-english
Del: in docs -- http://master.php.net/note/delete/66818/in+docs
Del: other reasons-- http://master.php.net/note/delete/66818
Reject -- http://master.php.net/note/reject/66818
Search -- http://master.php.net/manage/user-notes.php