string length

Y

Yan Robidoux

hello to you all....

well im sorry to disturb you with something so easily answered. i got
string and need to know the number of caracter it contain....

as in "I need help" is 11 caracter long .... blank space must b
counted.

how do i code this (in VB) ?

Thank
 
B

Brassman

Sub FindLength()
Dim StringLength As Integer
StringLength = Len("I need help")
MsgBox StringLength
End Su
 
Y

Yan Robidoux

geez i knew it was something easy... i was trying with :

length(expression)

thank for the help.... 3-4 year without programming are taking thei
due on my skill... i'm soo ashamed...

but still thank a lot for the help ma
 
Top