Way to get lineOffset to only match at the *beginning* of a line?

Ken Ray kray at sonsothunder.com
Tue Feb 28 03:28:02 EST 2006


On 2/28/06 1:39 AM, "Jim Witte" <jswitte at bloomington.in.us> wrote:

> Hi,
> 
>    I want to do something like lineOffset, but I only want to match
> the target if it's at the beginning of the line.  So
> 
> lineOffset("this", theText)

Try this:

lineOffset(CR & "this", CR & theText)

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com




More information about the Use-livecode mailing list