Position actuelle: Accueil> Catégories de fonctions> strripos

strripos

Calculez la dernière occurrence de la chaîne spécifiée dans la chaîne cible (cas insensible)
Nom:strripos
Catégorie:Chaîne
Langage de programmation:php
Description en une ligne:Trouve où la chaîne apparaît dans une autre chaîne (cas insensible).

Exemple

Trouvez la dernière occurrence de "PHP" dans la chaîne:

 <span class="token php language-php"><span class="token delimiter important"><? Php</span>
<span class="token keyword">Echo</span> <span class="token function">Strripos</span> <span class="token punctuation">(</span> <span class="token string double-quoted-string">"Vous aimez PHP, j&#39;aime aussi Php!"</span> <span class="token punctuation">,</span> <span class="token string double-quoted-string">"Php"</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token delimiter important">?></span></span>

Essayez-le vous-même

Fonctions similaires
Articles populaires