PHP

PHP Function strncasecmp() – Binary safe case-insensitive string comparison of the first n characters

The strncasecmp() function is used to compare a case-sensitive string of the first ā€˜nā€™ character. This function was introduced in…

PHP function strlen() – Get string length

The strlen() function is used to return the length of a specific string. This function was introduced in PHP3. The…

PHP function stripslashes() – Un-quotes a quoted string

The stripslashes() function is used to unquote a string that is quoted by using the addslashes() function. This function was…

PHP function stripcslashes() – Un-quote string quoted with addcslashes()

stripcslashes() converts C-style escape sequences (\, \a, \b, \f, \n, \r, \t, \v, and \x hh hex and \ ooo…

PHP function strcmp() – Binary safe string comparison

The strcmp() function is used to compare two case-sensitive strings. This function was introduced in PHP3. The function basically compares…

PHP Function strchr() – Alias of strstr()

The strchr() function is used to find the first appearance of a string inside another string. It is the pseudonym…

PHP function strcasecmp() – Binary safe case-insensitive string comparison

The strcasecmp() function is used to compare two case-sensitive strings. This is a case-insensitive version of the strcmp(). This function…

PHP Function str_word_count() – Return information about words used in a string

The str_word_count() function is used to count the number of words in a string. This function was introduced in PHP4.…

PHP Function str_split() – Convert a string to an array

The str_split() function is used to split a string into an array. This function was introduced in PHP5. The function…

PHP function str_replace() – Replace all occurrences of the search string with the replacement string

The str_replace() function is used to replace some case-sensitive characters in a string. This function was introduced in PHP3. The…