Regular Expression question
Robert Sneidar
bobs at twft.com
Wed Aug 9 14:21:55 EDT 2006
put <yourdatahere> into moldlist
put "" into mnewlist
repeat for each line theLine of moldlist
if line theLine is in mnewlist then
next repeat
else
put line theLine of moldlist & return after mnewlist
end repeat
Bob Sneidar
IT Manager
Logos Management
Calvary Chapel CM
On Aug 9, 2006, at 9:25 AM, use-revolution-request at lists.runrev.com
wrote:
> I have a list like:
> 1
> 1
> 1
> 2
> 2
> 3
> 4
> 4
> 4
>
> And I need all double lines removed from this list so it becomes:
> 1
> 2
> 3
> 4
>
> Anyone a suggestion? I am struggling through the regular expressions,
> but I can't seem to get it working...
More information about the use-livecode
mailing list