11 inline bool belong(
const std::string& a_string,
char a_c){
12 std::string::const_iterator it;
13 for(it=a_string.begin();it!=a_string.end();++it) {
14 if((*it)==a_c)
return true;
19 inline size_t numchar(
const std::string& a_string,
char a_c){
21 std::string::const_iterator it;
22 for(it=a_string.begin();it!=a_string.end();++it) {
29 std::string::const_iterator it;
30 for(it=a_string.begin();it!=a_string.end();++it) {
31 if((*it)!=
' ')
return false;