Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Newbie. Split string. Replace.
#2
Macro Macro1476
Code:
Copy      Help
;input string
str s="hello|goodbey|welcome|light|dark"

;split
ARRAY(str) a
tok s a -1 "|"

;results
int i
for i 0 a.len
,out a[i]


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)