Skip to content

Tag Archives: PHP-string

The join() function is built-in function in PHP and is used to join an array of elements which are separated by a string. Syntax string… Read More
The count_chars() is an inbuilt function in PHP and is used to perform several operations related to string like the number of an ASCII character… Read More
We already have learned about strpos() and stripos() which helps to find the first occurrence of a string in another string. In this article we… Read More
The str_word_count() function is a built-in function in PHP and is used to return information about words used in a string like total number word… Read More
In this article, we will see how to find the position of the first occurrence of a string in another string using strpos() and stripos()… Read More
In this article, we will learn how to check whether a number and a string is a palindrome or not in PHP. A number or… Read More
The substr() is a built-in function in PHP that is used to extract a part of string. Syntax: substr(string_name, start_position, string_length_to_cut) Parameters: The substr() function… Read More
Strings can be seen as a stream of characters. For example, ‘G’ is a character and ‘GeeksforGeeks’ is a string. We have learned about the… Read More

Start Your Coding Journey Now!