/*去除指定代码前后的空格*/ function SetNoneSpace(Code) { return Code.replace(/(\s*$)/g, "").replace(/(^\s*)/g, ""); }
此随笔或为自己所写、或为转载于网络。仅用于个人收集及备忘。