/* * Test for blank strings. * $Id$ * Copyright (c) 1997 by Tycho Softworks. * For conditions of distribution and reuse see product license. */#include<other/string.h>char__SPACES[]=" \t\r\n";boolstrblank(constchar*str){if(!str)returnTRUE;while(*str){if(!strchr(__SPACES,*str))returnFALSE;++str;}returnTRUE;}