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
strripos(3) - php
stristr(3) - php
grapheme_strstr(3) - php
iconv_strrpos(3) - php
mb_stripos(3) - php
Similar Topics in the Unix Linux Community
check the given string is numeric or not.
reading and calculating no. of occurrence in awk
remove characters from string based on occurrence of a string
Sed, last occurrence
Substitute first occurrence of keyword if occurrence between two other keywords