stripos() WordPress Function

The stripos() function is used to find the position of the first occurrence of a substring in a string. It is case-sensitive.

stripos( $haystack,  $needle ) #


Source

File: wp-includes/class-pop3.php

    function stripos($haystack, $needle){
        return strpos($haystack, stristr( $haystack, $needle ));
    }

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.