$mid(c:\foo\bar.txt,4,3) will get foo.

you could also use: $gettok(c:\foo\bar.txt,2,$asc(\))


New username: hixxy