Delete a character or characters from a string starting with the character at nIndex. If nCount is longer than the string, the remainder of the string will be removed.
int Delete( int nIndex, int nCount = 1 )
The length of the changed string.
string str("Summer is best");
int len = str.GetLength();
int count = 3;
int ret = str.Delete(6, count);
if( ret == len-count )
out_str(str);// output "Summer best"
out_int("", ret); // 11
string::Insert, string::Remove, string::Left, string::Right