" delimiters can now be more than a single character." Hmm, that completely did not cross my mind… awesome..
On 7/29/17, 5:36 PM, "use-livecode on behalf of J. Landman Gay via use-livecode" <use-livecode-boun...@lists.runrev.com on behalf of use-livecode@lists.runrev.com> wrote: Here's where it's handy that delimiters can now be more than a single character. This should extract the lines you need regardless of whether they contain carriage returns or not: on parseHeader pData set the lineDel to "<meta property=" repeat for each line l in pData if l contains "og:" then put char 1 to offset(">",l)-1 of l & cr after tList end repeat -- do something with tList end parseHeader _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode