Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tokenize (split) string
#3
i want to split php return strings into variables.

IntPost phpmysql post return

result:

1,test;2,site;3,quickmacros

Quote:_catid
_cat-title

with
Code:
Copy      Help
,,ARRAY(str) arr
,,int i nt
,,nt = tok(return &arr)
,,for(i 0 nt) out arr[i]

i get
Code:
Copy      Help
1
test
2
site
3
quickmacros
pi


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)