C++ How to copy text in string (from i.e. 8 letter to 12 letter)
- by Alice90
Hello
This is not homework, I need this for my program :)
I ask this question, because I searched for this in Google about 1 hour, and I don't find anything ready to run. I know that is trivial question, but if you will help me, you will make my day :)
Question:
How to copy text in string (from for example 8 letter to 12 letter) and send to other string?
I have string:
string s = "RunnersAreTheBestLovers";
and I want text from 8 letter to 17 letter in next string
Alice90