Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Charlie Miller   on Jul 31 In Java Category.

  
Question Answered By: Heru Chalthoum    on Jul 31

but should not have been

StringTokenizer tok = new StringTokenizer
(question, "\n");
while(tok.hasMoreTokens())
buf.append((String) tok.nextToken()+"<BR>");


Instead of
buf.append(tok.nextToken().append)"<BR>");

Share: 

 

This Question has 5 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on replacing /n with <B >in jdk1.3 Or get search suggestion and latest updates.


Tagged: