EXAMPLE if i input like this " int a; " or " a+b-c=d " then
the output must?

OUTPUT :

int = CHARACTERS
a to z = VARIABLES
; = TERMINATOR
1 - 0 = NUMBERS
+ - * / ( ) = OPERATORS
= = EQUAL

Recommended Answers

All 3 Replies

Ahhh.... I see... You need to use a for loop along with the mid function to retrieve each character from the string. Then you could use either a select case or an if elseif endif structure to test that character and build your output string...

Good Luck

how can i do the mid function and string... The only i know is if elseif and For loop

Type in mid and press F1 to bring up help or you could use your friends (yahoo, google, ask, answers, bing) and search the www for vb6 mid function...

Good Luck

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.