> what-not: [ > empty? trim/all copy line > found? find trim/all copy line "WEIGHTNAMEOFPRODUCT" > found? find radek "=======" > (to-char first radek) = (to-char 12) > ] > > foreach line file [if not any bind what-not 'line [insert tail result > line]] Thanks Pekr. I didn't realise that when binding a block only the words in the block that can be found in the context will be bound. Brett.
- [REBOL] How and when is bind useful? bhandley
- [REBOL] How and when is bind useful? Re: Al . Bri
- [REBOL] How and when is bind useful? Re: Petr . Krenzelok
- [REBOL] How and when is bind useful? Re:(2) bhandley
- bhandley