--- you wrote---------------
I'm importing text from the web via getnettext to a field, the text comes
already formatted as property lists (or so I thought) it comes like this:

[#property:"avalue", #property:5, #property:"anothervalue"]
[#property:"avalue", #property:5, #property:"anothervalue"]
[#property:"avalue", #property:5, #property:"anothervalue"]

-------------------------------------------------------------

try this handler



on textToList whichMember
  myText = member(whichMember).text
  myLineNumber = myText.line.count
  myList = []
  repeat with i = 1 to myLineNumber
    if myText.line[i] <> "" then
      myList.add(value(myText.line[i]))
    end if
  end repeat
  put myList
end

HTH
Jim
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to