sstring.h
/**
	 * Trim len characters from the end of the string.
	 */
Trim len characters from the end of the string.
Trim len characters from the end of the string .
size_t trimEnd(size_t len) {
		if(len >= len_) {
			size_t ret = len_;
			len_ = 0;
			return ret;
		}
		len_ -= len;
		return len;
	}
size_t trimEnd ( size_t len ) { if ( len >= len_ ) { size_t ret = len_ ; len_ = 0 ; return ret ; } len_ -= len ; return len ; }
Trim len characters from the end of the string.
Trim len characters from the end of the string .