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
Get step-by-step solutions from verified subject matter experts
