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

Find length of a string in VB

P: 1
could any one tell me how can i find length of given string in VB
Apr 19 '07 #1
Share this Question
Share on Google+
2 Replies

P: 8
var = Len(string)

I think that's the ticket.
Apr 19 '07 #2

Expert 5K+
P: 8,434
Yep, Len() is the function. The syntax might vary slightly depending on the version of VB - try it and see what happens.
Apr 20 '07 #3

Post your reply

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