Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to remove excess lines
#3
thanks kevin.  but this fails if the spacing or carriage returns isnt exactly 2 or less... my examples has 3 and 2, my real world has 3, 6, 4. carriage returns/new lines between strings....
Code:
Copy      Help
out
str a
str s="one[][][][][][]two[][][][][]yes"

s.findreplace("[][]" "[]")
out s
,


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)