Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
(Solved)...deleting a line from str
#1
This is what I have it removes the text from the line but the line is still there as you can see in the out put. How would I remove the whole line ?

Code:
Copy      Help
str lines=
;line0
;line1
;line2
;line3
;line4
;line5
;line6
;line7
;line8

str ij

ij.getl(lines 7)
lines.findreplace(ij "")
out
out lines
out numlines(lines)

out put:
Code:
Copy      Help
line0
line1
line2
line3
line4
line5
line6

line8
9

Any help would be great.
#2
replace line


Forum Jump:


Users browsing this thread: 1 Guest(s)