--- title: starts-with slug: Web/XPath/Functions/starts-with tags: - XSLT_Reference translation_of: Web/XPath/Functions/starts-with ---
{{ XsltRef() }}
starts-with
함수는 첫 번째 문자열이 두 번째 문자열로 시작하는 지를 확인한 뒤 true나 false를 반환합니다.
starts-with(haystack ,needle)
haystack
needle
만약
haystack
이
needle
로 시작하면 true
. 그렇지 않으면, false
.
지원함.