From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/web/xpath/functions/contains/index.html | 40 ++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 files/ja/web/xpath/functions/contains/index.html (limited to 'files/ja/web/xpath/functions/contains/index.html') diff --git a/files/ja/web/xpath/functions/contains/index.html b/files/ja/web/xpath/functions/contains/index.html new file mode 100644 index 0000000000..363982af83 --- /dev/null +++ b/files/ja/web/xpath/functions/contains/index.html @@ -0,0 +1,40 @@ +--- +title: contains +slug: Web/XPath/Functions/contains +tags: + - XSLT + - XSLT_Reference +translation_of: Web/XPath/Functions/contains +--- +

{{ XsltRef() }}

+ +

contains 関数は、第 1 引数の文字列に第 2 引数の文字列が含まれているかどうかを判定し、真偽値 true または false を返します。

+ +

構文

+ +
contains(haystack ,needle )
+
+ +

引数

+ +
+
haystack
+
検索される文字列
+
+ +
+
needle
+
haystack の部分文字列かどうかを検索する文字列
+
+ +

戻り値

+ +

haystackneedle が含まれていれば true。 そうでなければ false

+ +

定義

+ +

XPath 1.0 4.2

+ +

Gecko でのサポート

+ +

サポート済み。

-- cgit v1.2.3-54-g00ecf