LineOffset

Till Bandi tbandi at swissonline.ch
Mon Mar 28 13:19:29 EST 2005


Yves

try
lineoffset(cr &"21/03/2005",cr & tdata)

(-> Great Tip from Ken Ray about lineOffset, use-revolution list 25th 
march)

Till

Am 28.03.2005 um 18:06 schrieb Yves COPPE:

> Hello,
>
>
> I search a function to do the following :
>
>
> A text contains lines. each line begins with a date "JJ/MM/AAAA" and 
> then a tab and the a ascii text
> Id like to find the line which contains the date
>
> 28/03/2005 tab ascii text
> 25/03/2005 tab ascii text
> 21/03/2005 tab ascii text
> 20/03/2005 tab ascii text
>
>
>
> for example put lineoffset("28/03/2005",tdata) into thisLine
>
> it's OK BUT
>
> I'd like to find the line which item 1 (itemdel to tab) is this date 
> and not the line which contains this date, because in the ascii text 
> following the tab, there are also dates and those dates could be the 
> searched date
>
> I only want to find the line which begins with the searched date
>
> thank you.
>
> Greetings.
>
> Yves COPPE
> yvescoppe at skynet.be
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>


More information about the use-livecode mailing list