Hi to All,
I am new to this forum. I want to split the string and add some other thing to it using c++ program.
For example.
string top= 16 $12 $1987
I want a output where it should come like
string newtop= 16-12-1987
where I am splitting the string with $ char. Can anyone tell me how to split the string in c++?
Thank you.
Bookmarks