mirror of
https://github.com/php/doc-de.git
synced 2026-04-26 00:18:07 +02:00
f1c41cffb1
git-svn-id: https://svn.php.net/repository/phpdoc/de/trunk@212900 c90b9560-bf6c-de11-be94-00142212c4b1
67 lines
2.1 KiB
XML
67 lines
2.1 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.4 $ -->
|
|
<!-- EN-Revision: 1.4 Maintainer: sammywg Status: ready -->
|
|
<!-- splitted from ./de/functions/strings.xml, last change in rev 1.23 -->
|
|
<refentry id="function.strncmp">
|
|
<refnamediv>
|
|
<refname>strncmp</refname>
|
|
<refpurpose>
|
|
String-Vergleich der ersten n Zeichen (Binary safe)
|
|
</refpurpose>
|
|
</refnamediv>
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<type>int</type><methodname>strncmp</methodname>
|
|
<methodparam><type>string</type><parameter>str1</parameter></methodparam>
|
|
<methodparam><type>string</type><parameter>str2</parameter></methodparam>
|
|
<methodparam><type>int</type><parameter>len</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
Diese Funktion ist ähnlich <function>strcmp</function> mit dem Unterschied,
|
|
dass Sie die (maximale) Anzahl Zeichen (<parameter>len</parameter>) angeben
|
|
können, die bei jedem String verglichen werden soll.
|
|
</para>
|
|
<simpara>
|
|
Ist <parameter>str1</parameter> kleiner als
|
|
<parameter>str2</parameter> wird < 0 zurückgegeben, ist
|
|
<parameter>str1</parameter> größer als <parameter>str2</parameter> > 0,
|
|
und bei Gleichheit gibt die Funktion 0 zurück.
|
|
</simpara>
|
|
<simpara>
|
|
Dieser Vergleich berücksichtigt Groß- und Kleinschreibung.
|
|
</simpara>
|
|
<simpara>
|
|
Siehe auch
|
|
<function>ereg</function>,
|
|
<function>strncasecmp</function>,
|
|
<function>strcasecmp</function>,
|
|
<function>substr</function>,
|
|
<function>stristr</function>,
|
|
<function>strcmp</function> und
|
|
<function>strstr</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
|
|
-->
|