HTML: Markup language
CSS: Styling language
JavaScript: Scripting language
Web APIs: Programming interfaces
All web technology
Learn web development
Discover our tools
Get to know MDN better
This page was translated from English by the community. Learn more and join the MDN Web Docs community.
View in English Always switch to English
contains 함수는 첫 번째 인수 문자열이 두 번째 인수 문자열을 포함하는지 결정하고 부울값 true 또는 false를 반환합니다.
contains
contains(haystack ,needle )
haystack
찾을 문자열
needle
첫 번째 인수(haystack)에서 찾을 부분 문자열
첫 번째 인수(haystack)가 두 번째 인수(needle)를 포함하면 true. 그렇지 않으면, false.
true
false
XPath 1.0 4.2
지원함.