}
}
+bool is_alpha(int c)
+{
+ if ((c >= 'a') && (c <= 'z')) return true;
+ if ((c >= 'A') && (c <= 'Z')) return true;
+ if ((c == '_')) return true;
+ return false;
+}
+
+bool is_digit(int c)
+{
+ if ((c >= '0') && (c <= '9')) return true;
+ return false;
+}
+
+bool is_numeric(int c)
+{
+ if (is_digit(c)) return true;
+ if ((c == '.') || (c == '-')) return true;
+ if ((c == 'e')) return true;
+ return false;
+}
+
+bool is_alphanum(int c)
+{
+ return is_alpha(c) || is_numeric(c);
+}
+
+bool is_whitespace(int c)
+{
+ if ((c == ' ') || (c == '\t')) return true;
+ return false;
+}
+
// Convert to lowercase
string lc(string str){
for (unsigned int i=0; i<strlen(str.c_str()); i++)
string lc(string str);
+bool is_alpha( int );
+bool is_digit( int );
+bool is_numeric( int );
+bool is_alphanum( int );
+bool is_whitespace( int );
+
string remove_non_number( string str );
uint16_t get_checksum(const string to_check);