lineoffset and regular expression ?

thierry Douez douez at wanadoo.fr
Tue Mar 30 06:13:33 EST 2004


Hi all,

trying to understand the best way to deal with a lot of text
in revolution, i found this problem :

i'm using :
	 put lineoffset("String2Find", text2lookAt, skippedLines ) into idx

It works perfectly except that i need to do a second time :

	if Offset("String2Find", line idx of text2lookAt ) is not 1 then ... Wrong
place !

How can I find the "String2Find" only at the beginning of a line ?

I would prefer using lineoffset() for the next of the algorithm.

Regards, thierry



More information about the use-livecode mailing list