aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/xpath/functions/substring-after/index.md
diff options
context:
space:
mode:
Diffstat (limited to 'files/fr/web/xpath/functions/substring-after/index.md')
-rw-r--r--files/fr/web/xpath/functions/substring-after/index.md35
1 files changed, 35 insertions, 0 deletions
diff --git a/files/fr/web/xpath/functions/substring-after/index.md b/files/fr/web/xpath/functions/substring-after/index.md
new file mode 100644
index 0000000000..8aa294389a
--- /dev/null
+++ b/files/fr/web/xpath/functions/substring-after/index.md
@@ -0,0 +1,35 @@
+---
+title: substring-after
+slug: Web/XPath/Functions/substring-after
+tags:
+ - Référence_XSLT
+translation_of: Web/XPath/Functions/substring-after
+original_slug: Web/XPath/Fonctions/substring-after
+---
+<p>
+{{ XsltRef() }}
+</p><p><br>
+La fonction <code>substring-after()</code> retourne la partie d'une chaîne donnée suivant une sous-chaîne donnée.
+</p>
+<h3 id="Syntaxe">Syntaxe </h3>
+<pre class="eval">substring-after( <i>bottedefoin</i> , <i>aiguille</i> )
+</pre>
+<h3 id="Arguments"> Arguments </h3>
+<dl><dt><code><i>bottedefoin</i></code>
+</dt><dd>La chaîne à évaluer. Un extrait de cette chaîne sera retourné.
+</dd></dl>
+<dl><dt><code><i>aiguille</i></code>
+</dt><dd>La sous-chaîne à rechercher. Tout le contenu se trouvant après la première occurrence de <code><i>aiguille</i></code> dans la chaîne <code><i>bottedefoin</i></code> sera retourné.
+</dd></dl>
+<h3 id="Retour"> Retour </h3>
+<p>Une chaîne.
+</p>
+<h3 id="Exemples"> Exemples </h3>
+<table class="standard-table"> <tbody><tr> <th>Exemple XPath</th> <th>Sortie</th> </tr> <tr> <td><code>&lt;xsl:value-of select="substring-after('1999/04/01','/')" /&gt;</code></td> <td><code>04/01</code></td> </tr> <tr> <td><code>substring-after('aa-bb','-')</code></td> <td><code>bb</code></td> </tr> <tr> <td><code>substring-after('aa-bb','a')</code></td> <td><code>a-bb</code></td> </tr> <tr> <td><code>substring-after('aa-bb','b')</code></td> <td><code>b</code></td> </tr> <tr> <td><code>substring-after('aa-bb','q')</code></td> <td>(empty string)</td> </tr>
+</tbody></table>
+<h3 id="D.C3.A9finition"> Définition </h3>
+<p><a href="http://www.w3.org/TR/xpath#function-substring-after">XPath 1.0, section 4.2</a>.
+</p>
+<h3 id="Support_Gecko"> Support Gecko </h3>
+<p>Supportée.
+</p> \ No newline at end of file