Regular Expression question
Ton Kuypers
tkuypers at dmp-int.com
Wed Aug 9 10:16:35 EDT 2006
Hi mark,
This works indeed very fine, thanks.
I was just trying to use the regEx for speed reasons, very strange I
can't get it to work...
Warm regards,
Ton Kuypers
Digital Media Partners bvba
Tel. +32 (0)477 / 739 530
Fax +32 (0)14 / 71 03 04
http://www.dmp-int.com
On 9-aug-06, at 16:10, Mark Smith wrote:
> Not a regEx but works:
>
> function killDuplicateLines tList
> put empty into prevL
> repeat for each line L in tList
> if prevL is not L then put L & cr after newList
> put L into prevL
> end repeat
> return newList
> end killDuplicateLines
>
>
> Best,
>
> Mark
>
> On 9 Aug 2006, at 14:36, Ton Kuypers wrote:
>
>> 1
>> 1
>> 1
>> 2
>> 2
>> 3
>> 4
>> 4
>> 4
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list