Use the following string to answer questions a through e. string sValue = "Today is the first day of the rest of your life." a. Create a new string that has all lowercase characters except the word...


Use the following string to answer questions a through e.


string sValue =



"Today is the first day of the rest of your life."


a. Create a new string that has all lowercase characters except the


word day. The word day should be set to all uppercase.


b. Create a new string array that contains the eleven elements. Each


word from the sValue string should be in a separate array cell.


c. Remove the period from the last array element created in Step b.


Display the contents of the new array verifying its removal.


d. Surround the sValue string with three asterisks on each end.


e. Replace the word first with the word best in the sValue string.




Nov 14, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here