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