Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
find getl problems
#6
TheVig Wrote:
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.
Thanks that great and solves how to get the number from the line, any ideas on how i would i get the line from the string only knowing the customer name.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)