By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
462,325 Members | 546 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 462,325 IT Pros & Developers. It's quick & easy.

Extract number part from a string in VB6

P: 3
I want to extract number part from a string. I am doing project in VB6 and my MSFlexGrid control contains certain codes in the first EC101,CS104,etc. I want to extract the number part from the text.
Aug 11 '08 #1
Share this Question
Share on Google+
2 Replies

Expert 5K+
P: 8,127
you need to use some string functions like MID,LEFT etc.
Aug 11 '08 #2

Expert 100+
P: 1,445

I will give you the logic, write the program..
Loop thru the Length of the string using "LEN" function, and
Find Each character using MID finction,
if it is a numeric, then find the Values..

Aug 11 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.