I have a few questions on string.i don't really know how to use the functions in the string library.
1)how to reverse words in string?
Eg:i input this string "reverse word" and the output will be "esrever drow"
2)how to look for substring in string?
i will enter a substring that i want and display a message to state if the word is in the string.
eg:i want to find "word" in "reverse word" and a message will be displayed saying that the substring is found in the string.
3)how to insert substring into string
i will enter a substring and the position where i want to insert it.Then the new string will be displayed on the screen.
eg:i enter "this" and i want to put in between "reverse" and "word".The new string will be " reverse this word".