mbdriver/src/util.cxx
//converts a string to lower case and returns it.
converts a string to lower case and returns it.
converts a string to lower case and returns it .
static string tolower_string(const string& old_str)
{
    string new_str = old_str;
    int length = new_str.length();
    for (int i = 0; i < length; i++) {
	new_str[i] = tolower(new_str[i]);
    }
    return new_str;
}
static string tolower_string ( const string & old_str ) { string new_str = old_str ; int length = new_str . length ( ) ; for ( int i = 0 ; i < length ; i ++ ) { new_str [ i ] = tolower ( new_str [ i ] ) ; } return new_str ; }
converts a string to lower case and returns it.
converts a string to lower case and returns it .