Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
search text for special characters
#11
Macro Macro1571
Code:
Copy      Help
str s=
;#one #two
;#three
;#four

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

out s2


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)