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
Mention what is the difference between vbscript and vba?
How to replace junk code recorded by QTP with a mall function.
PLz send me the VB scripts which is having more examples my email id : hareen_11@yahoo.com
What is loose binding? Why is it not a good practice to use it?
Explain the constants in vbscript?
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
How to take whole text output from screen of Bitmap Application.
Mention what are the rules to name variable in vbscript?
Explain the string concatenation function in vbscript?
Differentiate javascript and vbscript?
How to open browser in vb script?
How to write a VBscript for web page performance test i need a code send if any knows the code If any knows VBScript book plz send to me the link to my mail plz
Program to use input box and send even numbers into sheet1 and odd numbers into sheet2 and prime numbers into sheet3 using vbscript(QTP)?
Which operator can be used to change the value of the operand or change the state of the condition?
What methods are used to create text files and open text files in the vbscript language?