src/Matrix/row_vector.cc
/**
 * trim_all - remove whitespace from left and right sides of a string
 * @in: the string to be processed
 */
remove whitespace from left and right sides of a string
@in: the string to be processed
remove whitespace from left and right sides of a string @in : the string to be processed
string row_vector::trim_all (const string& in)
{
  if (in.length() == 0) {
    string out = "";
    return out;
  }
  string out = trim_left (in);
  out = trim_right (out);
  return out;
}
string row_vector :: trim_all ( const string & in ) { if ( in . length ( ) == 0 ) { string out = " " ; return out ; } string out = trim_left ( in ) ; out = trim_right ( out ) ; return out ; }
trim_all - remove whitespace from left and right sides of a string
 @in: the string to be processed
trim_all - remove whitespace from left and right sides of a string @in : the string to be processed