src/utils.cpp
/**
 * Trims the string from the left.
 */
Trims the string from the left.
Trims the string from the left .
void ltrim(std::string &s) {
    s.erase(s.begin(), std::find_if(s.begin(), s.end(), [](int ch) {
        return !std::isspace(ch);
    }));
}
void ltrim ( std :: string & s ) { s . erase ( s . begin ( ) , std :: find_if ( s . begin ( ) , s . end ( ) , [ ] ( int ch ) { return ! std :: isspace ( ch ) ; } ) ) ; }
Trims the string from the left.
Trims the string from the left .