摘要: function Trim(str, is_global) { var result; result = str.replace(/(^\s+)|(\s+$)/g, ""); if (is_global.toLowerCase() == "g") { result = result.replace( 阅读全文
posted @ 2022-04-27 13:25 热心市民宗某§ 阅读(24) 评论(0) 推荐(0)