Advertisement
Advertisement
| 04.22.2008 at 06:09PM PDT, ID: 23345165 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: |
StringBuffer retval = new StringBuffer();
int place = 74;
int lastPlace = 0;
String test;
htmlbody.replaceAll("\r\n","");
//htmlbody.replaceAll("\\r","");
while (lastPlace < htmlbody.length())
{
if (place > htmlbody.length())
retval.append(htmlbody.substring(lastPlace,htmlbody.length()));
else
retval.append(htmlbody.substring(lastPlace,place) + "=\n");
lastPlace = place + 1;
place += 75;
}
|