Here are the strings: $School = "felician university", $Address
= "262 main street, lodi, NJ", $Room = "kh413, lodi campus".
Create a PHP program to:
- print out the length of each string
- print out the number of words in each string
- replace "NJ" with "new jersey"
- convert lowercase into Title case for each string
- print out the concatenation of all three strings
PLEASE SCREENSHOT YOUR CODE AND OUTPUT!
Here are the strings: $School = "felician university", $Address = "262 main street, lodi, NJ", $Room = "kh413, lodi camp
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Here are the strings: $School = "felician university", $Address = "262 main street, lodi, NJ", $Room = "kh413, lodi camp
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!