



|
Manuel PHP
|
|
Table : .addcslashes.addslashes .bin2hex .chop .rtrim() .chr .chunk split .convert cyr string .convert uudecode .convert uuencode .count chars .crc32 .crypt .echo .explode .fprintf .get html translation table .htmlspecialchars() .htmlentities() .hebrev .hebrevc .html entity decode .htmlentities .htmlspecialchars decode .htmlspecialchars .implode .join .implode() .levenshtein .localeconv .ltrim .md5 file .md5 .metaphone .money format .nl langinfo .nl2br .number format .ord .parse str .printf .quoted printable decode .quotemeta .rtrim .setlocale .sha1 file .sha1 .similar text .soundex .sprintf .sscanf .str getcsv .chaîne de caractères .str ireplace .str replace() .str pad .str repeat .str replace .str rot13 .str shuffle .str split .str word count .strcasecmp .strchr .strstr() .strcmp .strcoll .strcspn .strip tags .stripcslashes .addcslashes() .stripos .stripslashes .stristr .strlen .strnatcasecmp .strnatcmp .strncasecmp .strncmp .strpbrk .strpos .strrchr .strrev .strripos .strrpos .strspn .strstr .strtok .strtolower .strtoupper .strtr .substr compare .substr count .substr replace .substr .trim .ucfirst .ucwords .vfprintf .vprintf .vsprintf .wordwrap |
strrposstrrpos(PHP 3, PHP 4, PHP 5) strrpos -- Trouve la position de la dernière occurrence d'un caractère dans une chaîneDescriptionint strrpos ( string haystack, string needle [, int offset] )
strrpos() retourne la position numérique
de la dernière occurrence du caractère
Si Il est facile de confondre le résultat "caractère trouvé à la position 0" et "caractère non trouvé". Voici comment faire la différence :
Si
Voir aussi strpos(), strripos(), strrchr(), substr(), stristr() et strstr().
|

