evidenttutorials.com
Home HTML JavaScript jQuery PHP Python Server SQL
First Previous Page 2 of 3. Next Last
August 17, 2024

PHP reverse string with strrev() function

If you want to reverse any string then you can do this with using strrev() function. strrev function required one string argument for arranging in reverse order.

Read more... 
August 17, 2024

PHP removing extra spaces or characters using trim()

Some times it happens you want to remove spaces or any other character from the right and left side from a string. So you can easily do that with using trim function. trim function requires two arguments first is the string from where you want to remove spaces or character or second is character which you want to trim.

Read more... 
August 17, 2024

PHP substr

If you want to get sub string from a string so you can easily do this through PHP's built in function substr. This function required three parameters first is the whole string, second parameter indicate index value from where you want to retrieve the sub string

Read more... 
August 17, 2024

PHP String Compare

Comparison of two strings in PHP is very easy task. Like integer values you can also compare string with using equal to operator (==) inside of if conditional statement. It is as easy as you are comparing two values.

Read more... 
August 17, 2024

PHP wordwrap

You can wrap words after a specific number of characters in a string with using wordrap() PHP's built in function.

Read more... 
August 17, 2024

Capitalize first character of each word in a string with ucwords function

You can convert first character in upper case of each word in a string with using ucwords function. This function takes once argument.

Read more... 
August 17, 2024

Capitalize first character of a string with ucfirst function

You can convert first character in upper case of a string into upper case with using ucfirst function. This function takes one argument. The example of ucfirst function is mentioned below:

Read more... 
August 17, 2024

Change string in upper case with strtoupper function

You can convert a string into upper case (all letters in capital letters) with using strtoupper function. The example of strtoupper method is mentioned below:

Read more... 
August 17, 2024

Change string in lower case with strtolower function

You can convert a string into lower case (all letters in small letters) with using of strtolower function. The example of strtolower method is mentioned below:

Read more... 
August 17, 2024

PHP string replacement with str_replace function

You can replace a character, a word or even a string from a string through str_replace function in PHP. str_replace function required three string parameter to make replacement on the string first parameter old string which you want to replace and second parameter is new string with you want to replace old string and third and last parameter is whole string.

Read more... 
First Previous Page 2 of 3. Next Last

Latest Posts

You can find latest posts below:

What does clearsessions command do in Django? What does collectstatic command do in Django? How to create a new Django app? How to create a new Django project? How to run a Django project?
About Us Privacy Policy Disclaimer