how to find length of string in php | how to find length of string without using string function in php | how to find length of string without using strlen in php

how to find length of string without using string function in php

To find length of string in php, it’s very simple you can use the PHP strlen() function to get the length of a string. The strlen() function return the length of the string on success, and 0 if the string is empty. But whenever someone asked to how to find length of string without using … Read more

4 string functions to convert string case in PHP | strtoupper() function in php | strtolower() function in php | ucfirst | ucwords function in php

strtolower and strtoupper

Dear Readers. In this article we will discuss 4 PHP functions to convert case of letter one by one. strtoupper strtolower ucfirst ucwords What is string ? A string is a collection/sequence of characters. String is one of the data types supported by PHP. The string variables can contain alphanumeric characters. Strings are created when; … Read more

PHP string functions programs | str_replace functions in php | how to find and replace string in php

String Replace

Dear Friend, In this article we will discuss about str_replace function in PHP which is most popular and useful string functions. what is str_replace function ? The str_replace() is a built-in function in PHP and is used to replace all the occurrences of the search string by replacement string. Search and replace string can be … Read more

String reverse without using library function in php | PHP reverse string without strrev | String manipulation programs in php

Reverse String without inbuilt function in PHP

PHP reverse string without strrev, This is very simple to reverse a String in PHP by using inbuild function strrev. But sometimes in php interview, interviewer may ask how to Reverse a String in PHP without using strrev function or String reverse without using library function in php There are few simple steps to answer … Read more