js的trim returnthis.replace(/(^\s*)/g,"");returnthis.replace(/(\s*$)/g,"");alert("@"+ste.Ltrim()+"@");alert("@"+ste.trim()+"@"); 人生若只如初见 2012-02-10 09:29:42