Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to remove excess lines
#2
this works
s.findreplace("[][]" "[]")
Code:
Copy      Help
str s=
;dog jump over the fence
;
;
;the cat meows
;
;
;look both ways before crossing
;
;;

out numlines(s)
s.findreplace("[][]" "[]")
out numlines(s)
out s
 this doesn't 
s.findreplace("[] []" "[]")
nor does 
s.findreplace("[][]" "[]" 8)


Messages In This Thread
how to remove excess lines - by ilcaa - 07-31-2020, 11:00 PM
RE: how to remove excess lines - by Kevin - 08-01-2020, 12:34 AM
RE: how to remove excess lines - by ilcaa - 08-01-2020, 01:20 AM
RE: how to remove excess lines - by Kevin - 08-01-2020, 06:51 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)