Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

I need vb 6.0 help


ghost's Avatar
0 0

Ok i need to first of all know whut code i would put in to get the programm to only read for example if i put in "candy" i would only want the programm to read "andy" and ignore the "c", does enyone know how i would do that.

basicly how to sepurate strings


ghost's Avatar
0 0

ok, I got it, now i need too know how too count the number of charactors in a string, like so if i put in candy,the programm would say 5 letter word.


ghost's Avatar
0 0

to get the length of a string use:

Dim a as string
Dim ln as integer
a = "123"
ln = len(a) 'ln is now 3

some other useful functions for strings are left() right() mid() etc…


ghost's Avatar
0 0

MsgBox Len("candy")