摘要:
If you prefer not to modify the string prototype, then you can use the stand-alone functions below. function trim(stringToTrim) { return stringToTrim.replace(/^\s+|\s+$/g,""); } function ltrim(strin... 阅读全文
posted @ 2007-10-24 10:21
冷火
阅读(837)
评论(1)
推荐(0)
浙公网安备 33010602011771号