From b7d563653d48e4e78837de9dc49b03df9e7a111c Mon Sep 17 00:00:00 2001 From: SphinxKnight Date: Thu, 11 Nov 2021 08:59:11 +0100 Subject: Fix md conversion errors (#3027) --- .../web/xpath/functions/substring-before/index.html | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'files/fr/web/xpath/functions/substring-before') diff --git a/files/fr/web/xpath/functions/substring-before/index.html b/files/fr/web/xpath/functions/substring-before/index.html index 5f7edcefa2..f9ab5dcf01 100644 --- a/files/fr/web/xpath/functions/substring-before/index.html +++ b/files/fr/web/xpath/functions/substring-before/index.html @@ -11,29 +11,25 @@ original_slug: Web/XPath/Fonctions/substring-before


La fonction substring-before() retourne retourne la partie d'une chaîne donnée précédant une sous-chaîne donnée.

-

Syntaxe

+

Syntaxe

substring-before( bottedefoin , aiguille )
 
-

Arguments

+

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 avant la première occurrence de aiguille dans la chaîne bottedefoin sera retourné.
-

Retour

+

Retour

Une chaîne.

-

Exemples

+

Exemples

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

Définition

-

XPath 1.0, section 4.2. +

Définition

+

XPath 1.0, section 4.2.

-

Support Gecko

+

Support Gecko

Supportée. -

Interwiki Languages Links -

-
-
-{{ languages( { "en": "en/XPath/Functions/substring-before", "ja": "ja/XPath/Functions/substring-before", "pl": "pl/XPath/Funkcje/substring-before" } ) }} +

\ No newline at end of file -- cgit v1.2.3-54-g00ecf