Example 4: Using a string class to define standardize.

    string standardize ( string s ) {
    string:iterator i = remove_if( s.begin(), s.end(), ispunct );
    s.erase( i, s.end() );
    transform( s.begin(), s.end(), s.begin(), tolower );
    return s;
    }