C++
void TrimWhiteSpace( CString& strName, BOOL bAll );
Description
Trims white space from strName. Seldom used by programmers.
Parameters
Parameters | Description |
---|---|
strName | String to trim |
bAll | If true trims only leading spaces; if false, trims leading and trailing white space |