Great info starbuck thanks very much. laugh

I've kind of got the hang of using $read switches now... but still have one problem. I'm trying to search in a file for matching text and return a value if $true, or nothing if $false.

i.e. If (mirc isin readme.txt) { echo -a $ifmatch }

Forgive the incorrect syntax. Is this possible... if so how please? smile