Computing.Net > Forums > Programming > delete specified lines from array

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

delete specified lines from array

Reply to Message Icon

Name: mazz
Date: October 5, 2009 at 01:54:19 Pacific
OS: Microsoft Windows XP Professional
CPU/Ram: 3.189 GHz / 1013 MB
Product: Dell / OPTIPLEX 745
Subcategory: Java
Tags: Vista
Comment:

please help me on these problem. I have 2 files, one named output.txt and one named constraint.txt. I need to compare the contents of those files line by line....(contents are array like this:
line1- a1,b2,c2,
line2- a2,b1,c1,
line3- a2,b1,c2, )

if any constraint exist in output file, i have to delete the line and will produce final output file without constraint...



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: delete specified lines from array

Delete blank lines from a text file www.computing.net/answers/programming/delete-blank-lines-from-a-text-file/14525.html

delete specified line from a file www.computing.net/answers/programming/delete-specified-line-from-a-file-/17627.html

delete line from the file if there is no thir www.computing.net/answers/programming/delete-line-from-the-file-if-there-is-no-thir/19138.html