示例#1
0
bool CPrsBDF::RemoveNextWord( CStr &roStr )
{
	if( !roStr.GetSize() )
		return false;
	static const char *acSpace_ = " \t";
	RemoveLeadingSpace( roStr );
	int iPos = roStr.FindVec( 0, acSpace_ );
	if( iPos < 0 )
		iPos = roStr.GetSize();
	roStr.Del( 0, iPos );
	RemoveLeadingSpace( roStr );
	return true;
}