starts-with
Retourne true si la chaîne fournit dans l'argument string se termine avec la chaîne fournie dans l'argument start.
Signature
starts-with(string:chaîne, start:chaîne) -> booléen |
Paramètres
Nom | Type | Description |
---|---|---|
string | chaîne | La chaîne d’entrée. |
start | chaîne | La valeur de chaîne à vérifier. |
Exemples
L’expression suivante retourne true:
starts-with('cat', 'c') |
L’expression suivante retourne false:
starts-with('cat', 'b') |