Question: This is the question. string hTown = My hometown is New York City; Write the proper code to get the substring town , in the
This is the question.
string hTown = "My hometown is New York City";
Write the proper code to get the substring town, in the string variable hTown above, and store that substring in a string variable named pStr.

string hTown = "My hometown is New York City": Write the proper code to get the substring 'town", in the string variable hTown above, and store that substring in a string variable named pstr
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
