PHP strstr() May 23, 2012 Pramod T P It finds the first occurrence of a string Example <?php echo strstr(“phpcode”,”co”); ?> Output code Share this: Share on X (Opens in new window) X Share on Facebook (Opens in new window) Facebook Like Loading...