itemDelimiter

Brian Yennie briany at qldlearning.com
Thu Feb 12 11:16:16 EST 2004


Yep, good catch.

This should be a little more cleaned up:

put "<title>" into startTag
put "</title>" into endTag
put offset(startTag, theHTML) into startOffset
if (startOffset > 0) then
   put offset(endTag, theHTML, startOffset + length(startTag) - 1) into 
endOffset
   if (endOffset > 0) then
       put char (startOffset + length(startTag) - 1) to (startOffset + 
endOffset - 1) of theHTML into theTitle
   end if
end if

> Brian
>
> Is the script below missing a - put "</title>" into endTag?
> If so then I can get past that part to then try and grasp the next 
> part of it.
> I am trying to understand it and can't figure it out yet.....
>
> Tom



More information about the use-livecode mailing list