On Tue, 21 Oct 2003 14:50:10 +1000, Igor Couto wrote: Try > function fDeleteLine pList,pString > if pList is empty then return empty > if pString is empty then return pList put "" into plist2 > repeat for each line l in pList > if l <> pString then > put l&cr after pList2 > end if > end repeat > return pList2 > end fDeleteLine Ludovic