Files
doc-fr/reference/strings/functions/strcspn.xml
T
2004-08-28 19:20:56 +00:00

61 lines
1.9 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.10 $ -->
<!-- EN-Revision: 1.5 Maintainer: didou Status: ready -->
<refentry id="function.strcspn">
<refnamediv>
<refname>strcspn</refname>
<refpurpose>
Trouve un segment de chaîne ne contenant pas certains caractères
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>strcspn</methodname>
<methodparam><type>string</type><parameter>str1</parameter></methodparam>
<methodparam><type>string</type><parameter>str2</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>start</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam>
</methodsynopsis>
<simpara>
<function>strcspn</function> retourne la taille du premier segment
de <parameter>str1</parameter> qui ne contient <emphasis>aucun</emphasis>
des caractères de <parameter>str2</parameter>.
</simpara>
<simpara>
Depuis &php; 4.3.0, <function>strcspn</function> accepte deux paramètres
de type &integer; optionnels qui peuvent être utilisés pour définir la
position de départ <parameter>start</parameter> et la longueur
<parameter>length</parameter> de la chaîne à examiner.
</simpara>
&note.bin-safe;
<simpara>
Voir aussi
<function>strspn</function>.
</simpara>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->