Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
search text for special characters
#2
Macro Macro1571
Code:
Copy      Help
str s=
;This is an example #text with several hashtags and i want the #words with the #hashtags filtered out so i can use them later for further #actions.

ARRAY(str) a
findrx(s "#\w+" 0 4 a)
int i
for i 0 a.len
,out a[0 i]


Messages In This Thread

Forum Jump:


Users browsing this thread: 8 Guest(s)