note 75828 added to function.substr
| From: | sage) | Date: | Sun, 17 Jun 2007 23:35:29 +0000 |
| Subject: | note 75828 added to function.substr | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-127519@lists.php.net to get a copy of this message | ||
In response to the charAt functions:
It's as simple as this.
<?php
$str{$pos};
$str[$pos];
?>
http://php.net/manual/en/language.types.string.php
grep 'String access and modification by character'
----
Server IP: 86.58.145.50
Probable Submitter: 213.237.66.155
----
Manual Page -- http://www.php.net/manual/en/function.substr.php
Edit -- https://master.php.net/note/edit/75828
Del: integrated -- https://master.php.net/note/delete/75828/integrated
Del: useless -- https://master.php.net/note/delete/75828/useless
Del: bad code -- https://master.php.net/note/delete/75828/bad+code
Del: spam -- https://master.php.net/note/delete/75828/spam
Del: non-english -- https://master.php.net/note/delete/75828/non-english
Del: in docs -- https://master.php.net/note/delete/75828/in+docs
Del: other reasons-- https://master.php.net/note/delete/75828
Reject -- https://master.php.net/note/reject/75828
Search -- https://master.php.net/manage/user-notes.php