Pour la fonction StringInStr j'aurais voulu savoir si il était possible qu'il recherche dans une string donnée une chaine de caractère ?
Exemple :
Code : Tout sélectionner
$string = 'ceci est un test /a'
If StringInStr($string,'/a') then
msgbox(0,'','Substring trouvée !')
EndifCode : Tout sélectionner
$string = 'ceci est un test /a'
If StringInStr($string,'/') then
msgbox(0,'','Substring trouvée !')
EndifQuelqu'un saurait-il comment ou quelle fonction je dois utiliser pour qu'il puisse trouver une chaine de caractère dans une string ?
Merci.



