INSTR_POS(S,C,P)

RETOURNE LA POSITION DE LA CHAINE DE CARACTÈRES C DANS LA CHAINE DE CARACTÈRES S À PARTIR DE LA POSITION P



ACTION

La fonction INSTR_POS(S,C,P) retourne la position de la chaine de caractères C dans la chaine de caractères S, cette recherche commençant à partir de la position P. Retourne 0 si la chaine de caractères C n'est pas trouvée.


SYNTAXE : Resultat=INSTR_POS(S,C,P)


UTILISATION


ERREUR


EXEMPLE

print instr_pos("Hello everybody","every",3)

print 7


EN RAPPORT

INSTR()

INSTR_LAST()

INSTR_RIGHT()


Content created by Jack. Updated March 07, 2025