TrimLeft ();. →去掉字符串右邊空格:str1.TrimRight();. →獲得指定位置字符:char a = str1.GetAt(3); 相應的有CString::SetAt函數,修改指定位置字符。
確定! 回上一頁