I think you mean <BR> but WTH
String killThoseLinefeeds(String str)
StringBuffer buf = new StringBuffer();
for(int i=0; i< str.size(); i++)
{
char ch = str.charAt(i);
if(ch=='\n')
buf.append("<B>");
else
buf.append("<B>");
}
return buf.toString();
}
or StringTokenizer tok = new StringTokenizer(str, "\n");
while(tok.hasMoreTokens())
buf.append(tok.nextToken();
or a million other really easy bits of code....