/*去除指定代码前后的空格*/ function SetNoneSpace(Code) { return Code.replace(/(\s*$)/g, "").replace(/(^\s*)/g, ""); } 相关文章: 2022-03-10 2022-12-23 2022-12-23 2021-07-14 2022-12-23 2021-07-19 2022-12-23 2021-11-15