hi all,
i want to know how to decrease a string
for example:
string x,y;
cin>>x;
//the size of this string is 5 --- i want to take the new string y from x with length 3 not its real length
//for example x is "asdfg" so i want y to be "asd"
how ?:arrow:
created
last reply
- 2
replies
- 108
views
- 2
users