Display the drop-down list

mb_stripos()

« mb_strimwidth | mb_stristr »
<?php
mb_internal_encoding
("UTF-8");

$int mb_stripos (
    
// string $haystack
    
// string $needle
    
// [int $offset = 0]
    
?  // [string $encoding = mb_internal_encoding()]
);

// enter non ASCII characters in hex if $encoding is not UTF-8
// the result may not display properly if $encoding is not UTF-8
?>
Result
$int = 5
Examples
#1 mb_stripos  ("español",
 
"ol",
 
0)
#2 mb_stripos  ("español",
 
"OL",
 
0,
 
"UTF-8")
#3 mb_stripos  ("español",
 
"an",
 
0,
 
"UTF-8")
#4 mb_stripos  ("español",
 
"pa",
 
4,
 
"UTF-8")
See also
mb_convert_case, mb_internal_encoding, mb_strpos, stripos, strpos