PHP stripos() May 22, 2012 Pramod T P It returns the position of the first occurrence of a string inside another string Example <?php echo stripos(“phpcode”,”code”); ?> Output 3