stripos

(PHP 5, PHP 7) Find the position of the first occurrence of a case-insensitive substring in a string mixed stripos ( string $haystack, string $needle [, int $offset = 0 ] ) Find the numeric position of the first occurrence of needle in the haystack string. Unlike the strpos(), stripos() is case-insensitive. Parameters: haystack The string to search in.

stripcslashes

(PHP 4, PHP 5, PHP 7) Un-quote string quoted with addcslashes() string stripcslashes ( string $str ) Returns a string with backslashes stripped off. Recognizes C-like \n, \r ..., octal and hexadecimal representation. Parameters: str The string to be unescaped. Returns: Returns the unescaped string.

strip_tags

(PHP 4, PHP 5, PHP 7) Strip HTML and PHP tags from a string string strip_tags ( string $str [, string $allowable_tags ] ) This function tries to return a string with all NULL bytes, HTML and PHP tags stripped from a given str. It uses the same tag stripping state machine as the fgetss() function. Parameters: str The input string. allowable_tags

strcspn

(PHP 4, PHP 5, PHP 7) Find length of initial segment not matching mask int strcspn ( string $subject, string $mask [, int $start [, int $length ]] ) Returns the length of the initial segment of subject which does not contain any of the characters in mask. If start and length are omitted, then all of subject will be examined. If they are included, then the effect will be the same as calling strcspn(substr($subject, $start,

strcoll

(PHP 4 >= 4.0.5, PHP 5, PHP 7) Locale based string comparison int strcoll ( string $str1, string $str2 ) Note that this comparison is case sensitive, and unlike strcmp() this function is not binary safe. strcoll() uses the current locale for doing the comparisons. If the current locale is C or POSIX, this function is equivalent to strcmp(). Parameters: str1 The first

strcmp

(PHP 4, PHP 5, PHP 7) Binary safe string comparison int strcmp ( string $str1, string $str2 ) Note that this comparison is case sensitive. Parameters: str1 The first string. str2 The second string. Returns: Returns < 0 if str1 is less than str2; > 0 if str1 is greater than str2, and 0 if they are equal.

strchr

(PHP 4, PHP 5, PHP 7) Alias of strstr() This function is an alias of: strstr().

strcasecmp

(PHP 4, PHP 5, PHP 7) Binary safe case-insensitive string comparison int strcasecmp ( string $str1, string $str2 ) Binary safe case-insensitive string comparison. Parameters: str1 The first string str2 The second string Returns: Returns < 0 if str1 is less than str2; > 0 if str1 is greater than str2, and

str_word_count

(PHP 4 >= 4.3.0, PHP 5, PHP 7) Return information about words used in a string mixed str_word_count ( string $string [, int $format = 0 [, string $charlist ]] ) Counts the number of words inside string. If the optional format is not specified, then the return value will be an integer representing the number of words found. In the event the format is specified, the return value will be an array, content of which is depe

str_split

(PHP 5, PHP 7) Convert a string to an array array str_split ( string $string [, int $split_length = 1 ] ) Converts a string to an array. Parameters: string The input string. split_length Maximum length of the chunk. Returns: If the optional split_length parameter is specified, the returned array will be broken