Q4. For this exercise, write a script using the following variable: Stxt= "He opened the file and saw that there were only thirty visible light images and twelve radar images of Deimos"; Sstr=...



PHP programming




Q4.<br>For this exercise, write a script using the following variable:<br>Stxt=

Extracted text: Q4. For this exercise, write a script using the following variable: Stxt= "He opened the file and saw that there were only thirty visible light images and twelve radar images of Deimos"; Sstr= "images"; Srplc= "problems"; Snumofchars=10; Soccr="f The script will display the following output: The text is "He opened the file and saw that there were only thirty visible light images and twelve radar images of Deimos" The text includes “35" vowels. The text is formed from "20" words. When we replace “images" with "problems" the text becomes "He opened the file and saw that there were only thirty visible light problems and twelve radar problems of Deimos" The first 10 characters of the string are: “He opened " The last 10 characters of the string are: of Deimos" The first occurance of "f is "15". character. The uppercase version of the is: "HE OPENED THE FILE AND SAW THAT THERE WERE ONLY THIRTY VISIBLE LIGHT IMAGES AND TWELVE RADAR IMAGES OF DEIMOS"

Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here