From ea0377b93b3d290053fda7115929930b8c8d4d25 Mon Sep 17 00:00:00 2001 From: julieng Date: Thu, 11 Nov 2021 09:00:12 +0100 Subject: convert content to md --- .../web/xpath/functions/substring-after/index.md | 64 +++++++++++++--------- 1 file changed, 38 insertions(+), 26 deletions(-) (limited to 'files/fr/web/xpath/functions/substring-after/index.md') diff --git a/files/fr/web/xpath/functions/substring-after/index.md b/files/fr/web/xpath/functions/substring-after/index.md index 8aa294389a..856eafbf5a 100644 --- a/files/fr/web/xpath/functions/substring-after/index.md +++ b/files/fr/web/xpath/functions/substring-after/index.md @@ -6,30 +6,42 @@ tags: translation_of: Web/XPath/Functions/substring-after original_slug: Web/XPath/Fonctions/substring-after --- -

{{ XsltRef() }} -


-La fonction substring-after() retourne la partie d'une chaîne donnée suivant une sous-chaîne donnée. -

-

Syntaxe

-
substring-after( bottedefoin , aiguille )
-
-

Arguments

-
bottedefoin -
La chaîne à évaluer. Un extrait de cette chaîne sera retourné. -
-
aiguille -
La sous-chaîne à rechercher. Tout le contenu se trouvant après la première occurrence de aiguille dans la chaîne bottedefoin sera retourné. -
-

Retour

-

Une chaîne. -

-

Exemples

- -
Exemple XPath Sortie
<xsl:value-of select="substring-after('1999/04/01','/')" /> 04/01
substring-after('aa-bb','-') bb
substring-after('aa-bb','a') a-bb
substring-after('aa-bb','b') b
substring-after('aa-bb','q') (empty string)
-

Définition

-

XPath 1.0, section 4.2. -

-

Support Gecko

-

Supportée. -

\ No newline at end of file + +La fonction `substring-after()` retourne la partie d'une chaîne donnée suivant une sous-chaîne donnée. + +### Syntaxe + + substring-after( bottedefoin , aiguille ) + +### Arguments + +- `bottedefoin` + - : La chaîne à évaluer. Un extrait de cette chaîne sera retourné. + + + +- `aiguille` + - : La sous-chaîne à rechercher. Tout le contenu se trouvant après la première occurrence de `aiguille` dans la chaîne `bottedefoin` sera retourné. + +### Retour + +Une chaîne. + +### Exemples + +| Exemple XPath | Sortie | +| ------------------------------------------------------------- | -------------- | +| `` | `04/01` | +| `substring-after('aa-bb','-')` | `bb` | +| `substring-after('aa-bb','a')` | `a-bb` | +| `substring-after('aa-bb','b')` | `b` | +| `substring-after('aa-bb','q')` | (empty string) | + +### Définition + +[XPath 1.0, section 4.2](http://www.w3.org/TR/xpath#function-substring-after). + +### Support Gecko + +Supportée. -- cgit v1.2.3-54-g00ecf