Avatar of RWayneH
RWayneH
Flag 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.
VB Script

Avatar of undefined
Last Comment
RWayneH

8/22/2022 - Mon
SOLUTION
Wayne Taylor (webtubbs)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
Michael Fowler

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Michael Fowler

Note: the W3Schools VB Script tutorial is very good
http://www.w3schools.com/vbscript/default.asp
RWayneH

ASKER
Worked great. thanks.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck