Explanatory Question
Write a statement each to perform the following tasks on a string:
(i) Find and display the position of the last space in a string s.
(ii) Convert a number stored in a string variable x to double data type.
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.