Link to home
Start Free TrialLog in
Avatar of RWayneH
RWayneHFlag for United States of America

asked on

Instr parsing of a variable

I have a variable called: ResultA, it 30 chars long.

How would I get the first 10 chars off ResultA and set that as its own variable ResultB.
Then grab the char 12 thru 17 and set that as another variable ResultC

I am new to VB / VBS, and have not used Instr much and am looking for some help.
Please advise and thanks.
SOLUTION
Avatar of Wayne Taylor (webtubbs)
Wayne Taylor (webtubbs)
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Note: the W3Schools VB Script tutorial is very good
http://www.w3schools.com/vbscript/default.asp
Avatar of RWayneH

ASKER

Worked great. thanks.