diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:42:17 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:42:17 -0500 |
commit | da78a9e329e272dedb2400b79a3bdeebff387d47 (patch) | |
tree | e6ef8aa7c43556f55ddfe031a01cf0a8fa271bfe /files/ko/web/xpath/functions/substring-before/index.html | |
parent | 1109132f09d75da9a28b649c7677bb6ce07c40c0 (diff) | |
download | translated-content-da78a9e329e272dedb2400b79a3bdeebff387d47.tar.gz translated-content-da78a9e329e272dedb2400b79a3bdeebff387d47.tar.bz2 translated-content-da78a9e329e272dedb2400b79a3bdeebff387d47.zip |
initial commit
Diffstat (limited to 'files/ko/web/xpath/functions/substring-before/index.html')
-rw-r--r-- | files/ko/web/xpath/functions/substring-before/index.html | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/files/ko/web/xpath/functions/substring-before/index.html b/files/ko/web/xpath/functions/substring-before/index.html new file mode 100644 index 0000000000..1336715eee --- /dev/null +++ b/files/ko/web/xpath/functions/substring-before/index.html @@ -0,0 +1,49 @@ +--- +title: substring-before +slug: Web/XPath/Functions/substring-before +tags: + - XSLT_Reference +translation_of: Web/XPath/Functions/substring-before +--- +<p>{{ XsltRef() }}</p> +<p><br> + <code>substring-before</code> 함수는 첫 번째 인수에서 두 번째 인수가 나타난 앞의 나머지를 반환합니다.</p> +<h3 id=".EA.B5.AC.EB.AC.B8" name=".EA.B5.AC.EB.AC.B8">구문</h3> +<pre class="eval">substring-before(<i>haystack</i> ,<i>needle</i> ) +</pre> +<h3 id=".EC.9D.B8.EC.88.98" name=".EC.9D.B8.EC.88.98">인수</h3> +<dl> + <dt> + <i> + <code>haystack</code></i> + </dt> + <dd> + 평가할 문자열. 이 문자열의 부분이 반환됩니다.</dd> +</dl> +<dl> + <dt> + <i> + <code>needle</code></i> + </dt> + <dd> + 찾을 부분 문자열. + <i> + <code>haystack</code></i> + 에서 + <i> + <code>needle</code></i> + 의 첫 출현 앞의 문자열이 반환됩니다.</dd> +</dl> +<h3 id=".EB.B0.98.ED.99.98" name=".EB.B0.98.ED.99.98">반환</h3> +<p>문자열.</p> +<h3 id=".EC.A3.BC.EC.9D.98" name=".EC.A3.BC.EC.9D.98">주의</h3> +<p>XSL 예:</p> +<pre class="eval"><xsl:value-of select="substring-before('1999/04/01','/')" /> +</pre> +<p>출력</p> +<pre class="eval">1999 +</pre> +<h3 id=".EC.A0.95.EC.9D.98" name=".EC.A0.95.EC.9D.98">정의</h3> +<p><a class="external" href="http://www.w3.org/TR/xpath#function-substring-before">XPath 1.0 4.2</a></p> +<h3 id="Gecko_.EC.A7.80.EC.9B.90" name="Gecko_.EC.A7.80.EC.9B.90">Gecko 지원</h3> +<p>지원함.</p> |