--- title: starts-with slug: Web/XPath/Functions/starts-with tags: - Référence_XSLT translation_of: Web/XPath/Functions/starts-with original_slug: Web/XPath/Fonctions/starts-with --- {{ XsltRef() }} La fonction `starts-with` vérifie si la première chaîne débute par la seconde, et retourne `true` ou `false`. ### Syntaxe starts-with( meule , aiguille) ### Arguments - `meule` - : La chaîne dans laquelle chercher. - `aiguille` - : La chaîne à rechercher. ### Retour `true` si meule débute par `aiguille`. Autrement, `false`. ### Définition [XPath 1.0, section 4.2](http://www.w3.org/TR/xpath#function-starts-with). ### Support Gecko Supportée.