Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
removing a line from a text document
#14
this is the whole code i am using for testing
Code:
Copy      Help
str a b
b="remove this line"
a.getfile("$Desktop$\test.txt")
str s
foreach s a
,if b=s
,,a.findreplace(b)
,,del "$Desktop$\test.txt"
,,a.setfile("$Desktop$\test.txt" -1)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)