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
What are the 2 ways to pass a value to the function?
Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.
What if you do not specify anything when you call a procedure?
how to write codings in QTP using vb script. please help me. i am new to QTP. it is easy or very much tough. please tell me
how to operate webobjects in a webpage using getobject function and then using generic methods?
How to Convert Hex color code to color name in VB Script?
Explain about tristate constants?
i have a problem with this error(this error related edit and
delete button,when i click this button in datagrid..i will
get this error)"Invalid postback or callback argument.
Event validation is enabled using
what is the use of QCUtil? explain with one example?
Write a Program to add 2 numbers without using operators (+,-) and without using third variable. Note: Use VBScript only Hint: You can use other operators like '/' & '*'(Division & Multiplication)
How to add actions in driver script to run those actions in QTP?
How will you get a string with the specified character the specified number of times in vbscript?
Which operator is used to perform the comparison among 2 operands in the vbscript language?
Is VB Script Case sensitive or Case insensitive?
What is byref and byval parameters in vbscript?