Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
find getl problems
#5
Code:
Copy      Help
str s = "one, (two + three) four five"
ARRAY(str) arr arr2
int i nt
nt = tok(s arr 3 ", ()" 8 arr2)
for(i 0 nt) out "'%s' '%s'" arr[i] arr2[i]
Output:
'one' ', ('
'two + three' ') '
'four' ' '

Here is the example in the help file you'll want to model your code off of.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)