Question: Write a PHP script to : - a) transform a string all uppercase letters. b) transform a string all lowercase letters. c) make a string's

Write a PHP script to : - a) transform a string all uppercase letters.

b) transform a string all lowercase letters.

c) make a string's first character uppercase.

d) make a string's first character of all the words uppercase.

Sample String: The quick Brown fox jumps over the Lazy Dog. Sample outputs:

a) THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG.

b) the quick brown fox jumps over the lazy dog.

c) The quick brown fox jumps over the lazy dog.

d) The Quick Brown Fox Jumps Over The Lazy Dog.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!