The ucfirst() function is used to change the first character of a string to uppercase. Otherwise, We can use…
PhpA collection of 39 posts
The strtoupper() function is used to converts a string to uppercase. All other special characters or numeric…
The strtolower() function is used to converts a string to lowercase. All other special characters or numeric…
We can use the PHP concatenation operator (.) to join or combine two strings together in PHP….
The explode() function is an built-in function in PHP which is used to break or split a string…
The implode() or join() is a built-in function in PHP and it is used for creating a string by…
strcmp() function is used to compare two strings in php. This function is case-sensitive and binary-safe. If…
There’s no exact function to append a string in PHP. But PHP concatenation assignment operator (.=) is used to append a string with another…
The PHP substr() function is used to get the substring that is returns a part of a string. This…
There’s no exact function to prepend a string in PHP. But PHP concatenation operator (.) is used…
The str_replace() is the built-in function in PHP and is used to replace all the characters in…
The str_word_count() function can be used to counts the number of words in a string. Syntax string…