PHPでperlとかでよくお世話になったchompの代わり rtrim($str) で$strの最後の空白を削除してくれる、 rtrim($str,"\n")で削除する文字を指定できるので \nを指定してchompと同じ動きが可能に〜 他もにもこんな関数があるらしい ltrim() 文字列の先頭から空白文字を取り除く trim() 先頭および末尾にある空白文字を取り除く
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く