remove empty lines

Björnke von Gierke bvg at mac.com
Wed Aug 2 17:51:44 EDT 2006


   put fld "emailList" into tEmailList
   repeat for each line tEmail in tEmailList
     if tEmail <> "" then
        put tEmail after tNewEmailList
     end if
   end repeat


On Aug 02 2006, at 23:49, Liam Lambert wrote:

> Hi all
> how do I delete blank lines from a field
> I have something like this
>
>  put fld "emailList" into tEmailList
>   repeat for each line tEmail in tEmailList
>     if line tEmail is " " then (what would go here)
>     end if
>   end repeat
>
> or am I totally off the mark
> Liam
> IRELAND
> liamlambert at mac.com
>
>
>
> _______________________________________________
> 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
>
>
-- 

official ChatRev page:
http://chatrev.bjoernke.com

Chat with other RunRev developers:
go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev"





More information about the use-livecode mailing list