From: HIDE Date: 2011-05-24T22:09:54+09:00 Subject: [ruby-list:48102] データ整形 --------------060707080607030502050205 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit いつもお世話になっております。臼井@ruby初心者と申します。 ある一行の文字列データ(添付)を任意のデータ数で 改行して整形したいのですが、どうもうまくいきません。 どなたか、ご教授いただけないでしょうか? また、サンプルスクリプト提供していただけると幸いです。 //usui --------------060707080607030502050205 Content-Type: text/plain; name="=?ISO-2022-JP?B?GyRCQDA3QUEwGyhCLnR4dA==?=" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename*=ISO-2022-JP''%1B%24%42%40%30%37%41%41%30%1B%28%42%2E%74%78%74 YWFhYWFhYWFhYWJiYmJiYmJiYmJjY2NjY2NjY2Nj --------------060707080607030502050205 Content-Type: text/plain; name="=?ISO-2022-JP?B?GyRCQDA3QThlGyhCLnR4dA==?=" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename*=ISO-2022-JP''%1B%24%42%40%30%37%41%38%65%1B%28%42%2E%74%78%74 YWFhYWFhYWFhYWJiYmINCmJiYmJiYmNjY2MNCmNjY2NjYw== --------------060707080607030502050205--