I'm totally abusing the forum today... only 9:00 and already on my second question...

Anywayz, somebody at work wrote a program in basic a long time ago, now I have to convert it to visual basic. Well I'm stuck on this lil' bit of code here:

IF INSTR(InLine, "1.0000") = 14 THEN LPRINT " DX ";
IF INSTR(InLine, "1.0000") = 26 THEN LPRINT " DY ";
IF INSTR(InLine, "1.0000") = 38 THEN LPRINT " DZ";

I think it's searching for the string "1.000" at either the 14, 26, or 38 space. How do I do this in VB?

Once again, thanks in advance.