mirror of
https://github.com/php/doc-ja.git
synced 2026-04-24 00:18:15 +02:00
4c3cfbd374
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@189258 c90b9560-bf6c-de11-be94-00142212c4b1
70 lines
2.5 KiB
XML
70 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision: 1.5 $ -->
|
|
<!-- splitted from ./ja/functions/strings.xml, last change in rev 1.16 -->
|
|
<!-- EN-Revision: 1.4 Maintainer: hirokawa Status: ready -->
|
|
<!-- CREDITS: shimooka -->
|
|
<refentry id="function.strnatcasecmp">
|
|
<refnamediv>
|
|
<refname>strnatcasecmp</refname>
|
|
<refpurpose>
|
|
"自然順"アルゴリズムにより大文字小文字を区別しない文字列比較を行う
|
|
</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>説明</title>
|
|
<methodsynopsis>
|
|
<type>int</type><methodname>strnatcasecmp</methodname>
|
|
<methodparam><type>string</type><parameter>str1</parameter></methodparam>
|
|
<methodparam><type>string</type><parameter>str2</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
この関数は、人間が行うような手法でアルファベットまたは数字の文字
|
|
列の順序を比較するアルゴリズムを実装します。この関数の動作は、
|
|
<function>strnatcmp</function>に似ていますが、比較が大文字小文字
|
|
を区別しない違いがあります。詳細な情報については、Martin Poolの
|
|
<ulink url="&url.strnatcmp;">Natural Order String
|
|
Comparison</ulink> のページを参照ください。
|
|
</para>
|
|
<simpara>
|
|
他の文字列比較関数と同様に、この関数は、
|
|
<parameter>str1</parameter>が<parameter>str2</parameter>より小さ
|
|
いに場合に < 0、<parameter>str1</parameter>が
|
|
<parameter>str2</parameter>より大きい場合に > 0 、等しい場合に
|
|
0 を返します。
|
|
</simpara>
|
|
<simpara>
|
|
<function>ereg</function>,
|
|
<function>strcasecmp</function>,
|
|
<function>substr</function>,
|
|
<function>stristr</function>,
|
|
<function>strcmp</function>,
|
|
<function>strncmp</function>,
|
|
<function>strncasecmp</function>,
|
|
<function>strnatcmp</function>,
|
|
<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
|
|
-->
|