2006-07-27から1日間の記事一覧

文字列の最初と最後のスペースを取り除く

del.icio.usのjavascriptコードより String.prototype.trim = function (){ return this.replace(/^\s+|\s+$/,''); }