01-06-2009, 07:33 PM
TheVig Wrote: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.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.
