PHP programming
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"
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here