'use strict';
module.exports = function removeRightPadding(string) {
return string.replace(/[ \u0000]+$/, "");
}