--- title: starts-with slug: Web/XPath/Functions/starts-with tags: - XSLT - XSLT_Reference translation_of: Web/XPath/Functions/starts-with ---
{{ XsltRef() }}
starts-with
関数は第 1 引数の文字列が第 2 引数の文字列で始まるかどうかを調べ、true または false を返します。
{{ 英語版章題("Syntax") }}
starts-with(haystack ,needle)
{{ 英語版章題("Arguments") }}
haystack
needle
{{ 英語版章題("Returns") }}
haystack
がneedle
で始まれば true
。 そうでなければ false
。
{{ 英語版章題("Defined") }}
{{ 英語版章題("Gecko support") }}
サポート済み。