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
How to Convert Hex color code to color name in VB Script?
What is event handling in vbscript?
Mention what is the technology used by vb script?
What are the data types supported by vbscript?
How to write VB script for login module?
Write program for identifyig duplicates in flight Departing from and Arriving in mercury tours(web application).
How can you create an object in vbscript?
Why is it recommended to close the database connection every time after the work is completed?
What is the difference between vbscript and vba?
where can i learn VB scripint ?
What are the differences between sub procedures and function procedures?
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.
What is the purpose of drive object of scripting.filesystemobject class in vbscript?
what is used of Property........End Property loop ? how to write the script for it?
Explain about operator precedence in vb script?