Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

find the length of the string without using length function?

Answer Posted / cnu_thatavarthi

Option Explicit
Dim strValue,iCount, intcounter

strValue = "thatavarthi"
intcounter = 0
for icount = 1 to len(strValue)
intcounter = intcounter+1

Next
Msgbox intcounter

'Expected Value
---------------------------

---------------------------
11
---------------------------
OK
---------------------------

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to Convert Hex color code to color name in VB Script?

4344


What is event handling in vbscript?

1024


Mention what is the technology used by vb script?

921


What are the data types supported by vbscript?

1045


How to write VB script for login module?

3120


Write program for identifyig duplicates in flight Departing from and Arriving in mercury tours(web application).

1856


How can you create an object in vbscript?

1024


Why is it recommended to close the database connection every time after the work is completed?

877


What is the difference between vbscript and vba?

1062


where can i learn VB scripint ?

2031


What are the differences between sub procedures and function procedures?

933


how to write a vb script in QTP for yahoo registration form, i want to check the performance also like performance test, stress, load test like that.

5157


What is the purpose of drive object of scripting.filesystemobject class in vbscript?

966


what is used of Property........End Property loop ? how to write the script for it?

2186


Explain about operator precedence in vb script?

1016