Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
search text for special characters
#10
use replacerx

Macro Macro1571
Code:
Copy      Help
str s=
;#one #two
;#three
;#four

ARRAY(str) a
findrx(s "#\w+" 0 4 a)
out a.len
int i
str s2
for i 0 a.len
,s2+F"aaaaaaa {a[0 i]} bbbbb[]"

s2.replacerx("#" "")
out s2


Messages In This Thread

Forum Jump:


Users browsing this thread: 8 Guest(s)