Hi I have a string variable with large content. I have to remove unwanted line from the string content and keep remaining content as it is. Following is output that we get after printing the string:
string varString;
cout<<"String content :"<<endl<<varString<<endl;
Output is :
String content :
/abc/def/ghi/klm/run.so
call::myFuncton(int const&)
call::MY::Method(char const&)
.
.
.
call::MY::newFunction(char *&)
Now i have to remove "call::myFuncton(int const&)" line from above string variable and keep other data as it is. can any one tell tell me how i can remove that line from sting variable? Thanks in advance