Thanks for all the help - I came up with some code that works for me using
parse:

foreach line read/lines %inbox.txt [
  if found? find line "item_desc=" [
    parse line [
      thru "item_desc="         copy item_desc        to "&barcode_number="
   thru "&barcode_number="   copy barcode_number   to "&serial_number="
     thru "&serial_number="    copy serial_number    to "&percent_discount="
   thru "&percent_discount=" copy percent_discount to "&dollar_discount="
   thru "&dollar_discount="  copy dollar_discount  to "&sale_type="
   thru "&sale_type="        copy sale_type        to "&house_work="
   thru "&house_work="       copy house_work       to "&instore_time="
   thru "&instore_time="     copy instore_time     to "&expiration_date="
   thru "&expiration_date="  copy expiration_date  to end
   ]

easy as pie once you know what parse does!

-later, jw


--
stay fun.

Reply via email to