<pre>function postDataLine itemName,post  set the itemDelimiter to "="  repeat with x = 1 to the number of lines of post    if item 1 of line x of post is itemName then return x  end repeat  return emptyend postDataLine</pre>