evolve4src/src/evolve/utility.cpp
bool StringIsBlank(const char *str)
{
	const char *p;
	ASSERT( str != NULL );

	p = str;
	while( *p ) {
		if( ! isspace(*p) )
			return FALSE;
		p++;
	}

	return TRUE;
}
/*
 * True is 'str' is zero length or consists of all spaces.
 */
True is 'str' is zero length or consists of all spaces.
True is ' str ' is zero length or consists of all spaces .
bool StringIsBlank(const char *str)
{
	const char *p;
	ASSERT( str != NULL );
	p = str;
	while( *p ) {
		if( ! isspace(*p) )
			return FALSE;
		p++;
	}
	return TRUE;
}
bool StringIsBlank ( const char * str ) { const char * p ; ASSERT ( str != NULL ) ; p = str ; while ( * p ) { if ( ! isspace ( * p ) ) return FALSE ; p ++ ; } return TRUE ; }
True is 'str' is zero length or consists of all spaces.
True is ' str ' is zero length or consists of all spaces .