Question: Consider the string $S1-It is raining today and $S2-The CET353 class is at 5:30pm. Use PHP string functions to do the followings: 1. Show the

 Consider the string $S1-"It is raining today" and $S2-"The CET353 class

Consider the string $S1-"It is raining today" and $S2-"The CET353 class is at 5:30pm". Use PHP string functions to do the followings: 1. Show the length of the strings. Length of S1 Length of S2 = [Your result] [Your result] 2. 3. 4. 5. 6. 7. Show S1 in all capital letter Show S2 in all small letter Show S1 by capitalizing the first letter of each word. Show the substring "CET353" form S2 Find and show the position of the word "class" in S2. Replace the word "raining" to "snowing" in S1, and show the updated S1

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 Databases Questions!