Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

remove duplicare lines and blank lines from an string in javascript

 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi I need to remove duplicate and blank lines from an string in javascirpt on jsp ..
this lines are on html:textarea and i don't want any duplicate or blank lines there..

Please help me out
 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry Hebert but not found things of my insterest do you have any other option for this

Thanks for reply
Kaustubh
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64683
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kaustubh G Sharma wrote:Thanks 4 reply

Please use real words when posting to the forums. Abbreviations such as "4" in place of "for" only serve to make your posts more difficult to read and less likely to generate useful responses.

Please click this link ⇒ UseRealWords for more information.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64683
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would perform any data manipulation before the data is sent to the JSP.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic