src/MuseRecord.cpp
void MuseRecord::zerase(string& inout, int num) {
	int len = (int)inout.size();
	if (num >= len) {
		inout = "";
	} else {
		for (int i=num; i<=len; i++) {
			inout[i-num] = inout[i];
		}
	}
	inout.resize(inout.size() - num);
}
////////////////////
//
// MuseRecord::zerase -- removes specified number of characters from
// 	the beginning of the string.
//
:zerase -- removes specified number of characters from
the beginning of the string.
: zerase -- removes specified number of characters from the beginning of the string .
void MuseRecord::zerase(string& inout, int num) {
	int len = (int)inout.size();
	if (num >= len) {
		inout = "";
	} else {
		for (int i=num; i<=len; i++) {
			inout[i-num] = inout[i];
		}
	}
	inout.resize(inout.size() - num);
}
void MuseRecord :: zerase ( string & inout , int num ) { int len = ( int ) inout . size ( ) ; if ( num >= len ) { inout = " " ; } else { for ( int i = num ; i <= len ; i ++ ) { inout [ i - num ] = inout [ i ] ; } } inout . resize ( inout . size ( ) - num ) ; }
MuseRecord::zerase -- removes specified number of characters from
the beginning of the string.
MuseRecord :: zerase -- removes specified number of characters from the beginning of the string .