CString::TrimLeft
void TrimLeft( );当在没有参数的情况下调用时,TrimLeft删除字符串最前面的换行符,空格和tab字符。
void CString::TrimLeft( TCHAR chTarget );
void CString::TrimLeft( LPCTSTR lpszTargets );
Parameters
chTarget
The target characters to be trimmed.
lpszTargets
A pointer to a string containing the target characters to be trimmed.
Remarks
Call the version of this member function with no parameters to trim leading whitespace characters from the string. When used with no parameters, TrimLeft removes newline, space, and tab char