Alternatively, there's alwasy INSTR and INSTRREV to find specific locations inside a string. E.g.
code:
$a='C:\WINNT\ISUNINST.EXE '*' C:\PROGRA~1\Citrix\ICACLI~1\Uninst.isu'

$b=left($a,instr($a,'.exe')+4)
$c=substr($a,instr($a,'.exe')+5)

_________________________
There are two types of vessels, submarines and targets.