--- 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 ---
{{ XsltRef() }}
La fonction substring-after()
retourne la partie d'une chaîne donnée suivant une sous-chaîne donnée.
substring-after( bottedefoin , aiguille )
bottedefoin
aiguille
aiguille
dans la chaîne bottedefoin
sera retourné.
Une chaîne.
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) |
Supportée.