Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to remove excess lines
#5
replacerx using regular expressions would probably be best here
Code:
Copy      Help
out
str s="one[][][][][][]two[][][][][]yes[][][][][][][][]No[][]End"
s.replacerx("[\r\n]+" "[][]")
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)