cvs: phpdoc-es /reference/strings/functions substr-count.xml
| From: | Javier Eguiluz | Date: | Thu, 30 Jun 2005 15:20:08 +0000 |
| Subject: | cvs: phpdoc-es /reference/strings/functions substr-count.xml | ||
| Groups: | php.doc.es | ||
| Request: | Send a blank email to doc-es+get-971@lists.php.net to get a copy of this message | ||
javi Thu Jun 30 11:20:08 2005 EDT
Modified files:
/phpdoc-es/reference/strings/functions substr-count.xml
Log:
- Añadido EN-Revision
- Pequeñas correcciones
http://cvs.php.net/diff.php/phpdoc-es/reference/strings/functions/substr-count.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc-es/reference/strings/functions/substr-count.xml
diff -u phpdoc-es/reference/strings/functions/substr-count.xml:1.2
phpdoc-es/reference/strings/functions/substr-count.xml:1.3
--- phpdoc-es/reference/strings/functions/substr-count.xml:1.2 Sat Aug 17 09:04:36 2002
+++ phpdoc-es/reference/strings/functions/substr-count.xml Thu Jun 30 11:20:08 2005
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- splitted from ./es/functions/strings.xml, last change in rev 1.7 -->
-<!-- last change to 'substr-count' in en/ tree in rev 1.27 -->
+<!-- $Revision: 1.3 $ -->
+<!-- EN-Revision: 1.6 Maintainer: javi Status: ready -->
+<!-- splitted from ./en/functions/strings.xml, last change in rev 1.27 -->
<refentry id="function.substr-count">
<refnamediv>
<refname>substr_count</refname>
@@ -10,23 +11,33 @@
<title>Descripción</title>
<methodsynopsis>
<type>int</type><methodname>substr_count</methodname>
-
<methodparam><type>string</type><parameter>pajar</parameter></methodparam>
-
<methodparam><type>string</type><parameter>aguja</parameter></methodparam>
+
<methodparam><type>string</type><parameter>cadena</parameter></methodparam>
+
<methodparam><type>string</type><parameter>caracter</parameter></methodparam>
</methodsynopsis>
<para>
- <function>substr_count</function> devuelve el número de veces
- que la subcadena <parameter>aguja</parameter> se encuentra en
- la cadena <parameter>pajar</parameter>.
+ <function>substr_count</function> devuelve el número de veces
+ que la subcadena <parameter>caracter</parameter> se encuentra en
+ la <parameter>cadena</parameter>. La función no distingue las
mayúsculas
+ y minúsculas de <parameter>caracter</parameter>.
</para>
<para>
<example>
<title>Ejemplo de <function>substr_count</function></title>
- <programlisting>
-print substr_count("This is a test", "is"); // prints out 2
+ <programlisting role="php">
+<![CDATA[
+<?php
+echo substr_count("Esto es una prueba", "es"); // Salida: 2
+?>
+]]>
</programlisting>
</example>
</para>
+ <simpara>
+ Vea también <function>count_chars</function>,
+ <function>strpos</function>, <function>substr</function>
+ y <function>strstr</function>.
+ </simpara>
</refsect1>
</refentry>