aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/xpath/fonctions/substring
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/fr/web/xpath/fonctions/substring
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/fr/web/xpath/fonctions/substring')
-rw-r--r--files/fr/web/xpath/fonctions/substring/index.html40
1 files changed, 40 insertions, 0 deletions
diff --git a/files/fr/web/xpath/fonctions/substring/index.html b/files/fr/web/xpath/fonctions/substring/index.html
new file mode 100644
index 0000000000..0ac5572b19
--- /dev/null
+++ b/files/fr/web/xpath/fonctions/substring/index.html
@@ -0,0 +1,40 @@
+---
+title: substring
+slug: Web/XPath/Fonctions/substring
+tags:
+ - Référence_XSLT
+translation_of: Web/XPath/Functions/substring
+---
+<p>
+{{ XsltRef() }}
+</p><p><br>
+La fonction <code>substring</code> retourne une partie d'une chaîne donnée.
+</p>
+<h3 id="Syntaxe" name="Syntaxe"> Syntaxe </h3>
+<pre class="eval">substring( <i>chaîne</i> , <i>début</i> [, <i>longueur</i>] )
+</pre>
+<h3 id="Arguments" name="Arguments"> Arguments </h3>
+<dl><dt><code><i>chaîne</i></code> </dt><dd>La chaîne à évaluer.
+</dd></dl>
+<dl><dt><code><i>début</i></code>
+</dt><dd>La position dans la <code><i>chaîne</i></code> où commence la sous-chaîne.
+</dd></dl>
+<dl><dt><code><i>longueur</i></code> (optionnel)
+</dt><dd>La longueur de la sous-chaîne à extraire. S'il est omis, la chaîne retournée contiendra tous les caractères depuis la position <code><i>début</i></code> jusqu'à la fin de la <code><i>chaîne</i></code>.
+</dd></dl>
+<h3 id="Retour" name="Retour"> Retour </h3>
+<p>Une chaîne.
+</p>
+<h3 id="Notes" name="Notes"> Notes </h3>
+<p>Comme pour les autres fonctions XPath, les positions ne sont pas comptées à partir de zéro. Le premier caractère de la chaîne est à la position 1.
+</p>
+<h3 id="D.C3.A9finition" name="D.C3.A9finition"> Définition </h3>
+<p><a href="http://www.w3.org/TR/xpath#function-substring" class="external">XPath 1.0, section 4.2</a>.
+</p>
+<h3 id="Support_Gecko" name="Support_Gecko"> Support Gecko </h3>
+<p>Supportée.
+</p><p><span class="comment">Interwiki Languages Links</span>
+</p>
+<div class="noinclude">
+</div>
+{{ languages( { "en": "en/XPath/Functions/substring", "es": "es/XPath/Funciones/substring", "ja": "ja/XPath/Functions/substring", "pl": "pl/XPath/Funkcje/substring" } ) }}