Skip to content

Tag Archives: PHP-string

The crc32() function helps us to calculate a 32-bit crc or cyclic redundancy checksum polynomial for a string. The function uses the CRC32 algorithm.This function… Read More
The ucwords() function is a built-in function in PHP and is used to convert the first character of every word in a string to upper-case.… Read More
The lcfirst() function is a built-in function in PHP which takes a string as an argument and returns the string with the first character in… Read More
In this article, we will see how to get the length of the string using strlen() function in PHP, along with understanding its implementation through the… Read More
The ucfirst() function is a built-in function in PHP which takes a string as an argument and returns the string with the first character in… Read More
The strtolower() function is used to convert a string into lowercase. This function takes a string as parameter and converts all the uppercase english alphabets… Read More
The strcasecmp() function is a built-in function in PHP and is used to compare two given strings. It is case-insensitive. This function is similar to… Read More
The quotemeta() function is an inbuilt function in PHP which accepts a string as an argument and returns a string which has backslashes added in… Read More
The strrchr() function is a built-in function in PHP. This function takes two arguments a string and a character. This function searches the given character… Read More
The strstr() function is a built-in function in PHP. It searches for the first occurrence of a string inside another string and displays the portion… Read More
The function str_rot13() is a built-in function in php. This function accepts a string and shifts every alphabet present in the string by 13 places… Read More
The ltrim() function is a built-in function in PHP which removes whitespaces or other characters (if specified) from the left side of a string. Syntax:… Read More
The strcoll() is an inbuilt function in PHP and is used to compare two strings. This function is case-sensitive which points that capital and small… Read More
The rtrim() function is a built-in function in PHP which removes whitespaces or other characters (if specified) from the right side of a string. Syntax:… Read More
The strcspn() function is an in-built function in PHP which returns the number of characters present in a string before any part of the specified… Read More

Start Your Coding Journey Now!