aspose file tools*
The moose likes JSP and the fly likes remove duplicare lines and blank lines from an string in javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "remove duplicare lines and blank lines from an string in javascript" Watch "remove duplicare lines and blank lines from an string in javascript" New topic
Author

remove duplicare lines and blank lines from an string in javascript

Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1277

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


No Kaustubh No Fun, Know Kaustubh Know Fun..
Hebert Coelho
Ranch Hand

Joined: Jul 14, 2010
Posts: 754

This might help you:
http://www.webdeveloper.com/forum/archive/index.php/t-43687.html


[uaiHebert.com] [Full WebApplication JSF EJB JPA JAAS with source code to download] One Table Per SubClass [Web/JSF]
Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1277

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

Joined: Jan 10, 2002
Posts: 61420
    
  67

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61420
    
  67

I would perform any data manipulation before the data is sent to the JSP.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: remove duplicare lines and blank lines from an string in javascript