PHP Tutorial : Strpos and Strrpos
Jun 9, 2009 Basic PHP
Basic thing, strpos and strrpos are two php functions which are used to find the position of first and/or last occurrence in a string – word (usefull for example when you want to build a function to get file extension). I hear you saying enough talking, let me see the available examples :
<?php
//get first occurrence
$string…………….
Read PHP Tutorial : Strpos and Strrpos »
Tags: Find position of first occurrence of a string, occurrence, position, strpos, strrpos

