LD String1
FIND_INT String2
ST Position
Position := FIND_INT(String1, String2);
Paramètre
|
Type
|
Commentaire
|
---|---|---|
String1
|
Chaîne de caractères dans laquelle la recherche s’effectue.
Exemple : String1 contient ‘MISE EN STOP’
|
|
String2
|
Chaîne de caractères contenant le texte à chercher
Exemple : String2 contient ‘STOP’
|
Paramètre
|
Type
|
Commentaire
|
---|---|---|
Position
|
Si String2 est contenue dans String1, Position contient le rang du premier caractère de String2 trouvé dans String1.
Lorsque String2 n’est pas contenue dans String1, Position = -1.
Exemple : avec les valeurs d’exemple indiquées dans le tableau précédent, Position = 9
|