Regular Expression question

Mark Smith mark at maseurope.net
Wed Aug 9 10:10:07 EDT 2006


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




More information about the use-livecode mailing list