mb_stripos(3) php man page | unix.com

Man Page: mb_stripos

Operating Environment: php

Section: 3

MB_STRIPOS(3)								 1							     MB_STRIPOS(3)

mb_stripos - Finds position of first occurrence of a string within another, case insensitive

SYNOPSIS
int mb_stripos (string $haystack, string $needle, [int $offset], [string $encoding = mb_internal_encoding()])
DESCRIPTION
mb_stripos(3) returns the numeric position of the first occurrence of $needle in the $haystack string. Unlike mb_strpos(3), mb_stripos(3) is case-insensitive. If $needle is not found, it returns FALSE.
PARAMETERS
o $haystack - The string from which to get the position of the first occurrence of $needle o $needle - The string to find in $haystack o $offset - The position in $haystack to start searching o $encoding - Character encoding name to use. If it is omitted, internal character encoding is used.
RETURN VALUES
Return the numeric position of the first occurrence of $needle in the $haystack string, or FALSE if $needle is not found.
SEE ALSO
stripos(3), strpos(3), mb_strpos(3). PHP Documentation Group MB_STRIPOS(3)
Related Man Pages
strstr(3) - php
mb_strrichr(3) - php
mb_strstr(3) - php
iconv_strpos(3) - php
mb_strpos(3) - php
Similar Topics in the Unix Linux Community
Third line occurrence replacement
reading and calculating no. of occurrence in awk
find string nth occurrence in file and print line number
awk for trimming a string up to the first, then second, then third... match
Sed, last occurrence