I'm using v4.5.6(2427) and I have this in my VBScript.DEF

[InStr | Find position of text in ProgramsPath ]
iPos = InStr(1,sPr|,"sFind",vbTextCompare)
[sProgramFiles | variable for %ProgramFiles% ]
"C:\Program Files\|"
[|]

On an empty line I input  In  and press CTRL+Space and select InStr

Then I press CTRL+Space (to sPr) in order to select sProgramFiles, and input the
rest of the programs path I want examined, but the result is NOT inserted
between sPr|  and  ,"sFind",  but at the end of the line after vbTextCompare)

The reason is, that I don't have a space after sPr|

But could you solve that issue, so it won't happen?

-- 
<http://forum.pspad.com/read.php?2,57961,57961>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem