svn: /phpdoc/en/trunk/ language/types/string.xml reference/strings/functions/substr-replace.xml reference/strings/functions/substr.xml

From: Date: Tue, 02 Mar 2010 13:22:58 +0000
Subject: svn: /phpdoc/en/trunk/ language/types/string.xml reference/strings/functions/substr-replace.xml reference/strings/functions/substr.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-6155@lists.php.net to get a copy of this message
rquadling Tue, 02 Mar 2010 13:22:58 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=295733 Log: Add links between substr, substr_compare with single character access. Changed paths: U phpdoc/en/trunk/language/types/string.xml U phpdoc/en/trunk/reference/strings/functions/substr-replace.xml U phpdoc/en/trunk/reference/strings/functions/substr.xml Modified: phpdoc/en/trunk/language/types/string.xml =================================================================== --- phpdoc/en/trunk/language/types/string.xml 2010-03-02 13:21:25 UTC (rev 295732) +++ phpdoc/en/trunk/language/types/string.xml 2010-03-02 13:22:58 UTC (rev 295733) @@ -723,7 +723,9 @@ specifying the zero-based offset of the desired character after the <type>string</type> using square <type>array</type> brackets, as in <varname>$str[42]</varname>. Think of a <type>string</type> as an - <type>array</type> of characters for this purpose. + <type>array</type> of characters for this purpose. The functions + <function>substr</function> and <function>substr_replace</function> + can be used when you want to extract or replace more than 1 character. </para> <note> Modified: phpdoc/en/trunk/reference/strings/functions/substr-replace.xml =================================================================== --- phpdoc/en/trunk/reference/strings/functions/substr-replace.xml 2010-03-02 13:21:25 UTC (rev 295732) +++ phpdoc/en/trunk/reference/strings/functions/substr-replace.xml 2010-03-02 13:22:58 UTC (rev 295733) @@ -131,6 +131,7 @@ <simplelist> <member><function>str_replace</function></member> <member><function>substr</function></member> + <member><link linkend="language.types.string.substr">String access and modification by character</link></member> </simplelist> </para> </refsect1> Modified: phpdoc/en/trunk/reference/strings/functions/substr.xml =================================================================== --- phpdoc/en/trunk/reference/strings/functions/substr.xml 2010-03-02 13:21:25 UTC (rev 295732) +++ phpdoc/en/trunk/reference/strings/functions/substr.xml 2010-03-02 13:22:58 UTC (rev 295733) @@ -170,6 +170,7 @@ <member><function>trim</function></member> <member><function>mb_substr</function></member> <member><function>wordwrap</function></member> + <member><link linkend="language.types.string.substr">String access and modification by character</link></member> </simplelist> </para> </refsect1>

« previous php.doc.cvs (#6155) next »