This shows you the differences between two versions of the page.
fr:instrx [2016/01/01 22:44] |
fr:instrx [2020/02/28 10:46] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Instrx ===== | ||
+ | ==== Format ==== | ||
+ | **instrx** ( // | ||
+ | **instrx** ( // | ||
+ | |||
+ | ==== Description ==== | ||
+ | Recherche le texte représenté par la chaîne de caractère //regex// dans la chaîne de caractères // | ||
+ | Un troisième paramètre optionnel //start// permet de spécifier à partir de quelle position dans la chaîne de caractères // | ||
+ | Contrairement à [[instr|Instr]], | ||
+ | ==== Remarque ==== | ||
+ | Les indices d'une chaîne de caractères commencent à 1. | ||
+ | ==== Exemple ==== | ||
+ | < | ||
+ | print instrx(" | ||
+ | print instrx(" | ||
+ | </ | ||
+ | Affichera | ||
+ | < | ||
+ | 4 | ||
+ | 12 | ||
+ | </ | ||
+ | |||
+ | ==== Disponible depuis la version ==== | ||
+ | 0.9.6.56 | ||