Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
search text for special characters
#4
What is your code? My code gives correct results for your example.

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
for i 0 a.len
,out a[0 i]

output:
4
#one
#two
#three
#four


Messages In This Thread

Forum Jump:


Users browsing this thread: 9 Guest(s)