2019独角兽企业重金招聘Python工程师标准>>>
function Trim(str,is_global){var result;result = str.replace(/(^\s+)|(\s+$)/g,"");if(is_global.toLowerCase()=="g"){result = result.replace(/\s/g,"");}return result;}
转:https://my.oschina.net/shouheyuan/blog/869665