find the length of the string without using length function?
Answer Posted / rajanikanth
Option Explicit
Dim a
txt="I am Rajanikanth"
txt = txt & "@"
a = Instr(txt, "@") - 1
MsgBox a
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Develop a parameterized action that accomplishes the following a. Launch a browser of users choice ( example : IE, chrome etc) b. Open up a search engine (Google, Bing etc) c. Perform a search d. Click a particular link depending on the user’s choice ( 1st , 2nd or third link)
How to delete a cookie using vbscript?
Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?
Explain about the functionality of vb script?
What is the extension of the vbscript file?
How will you get the exponent of the given number in vbscript?
Which date function is used in the vbscript language to find the difference between the 2 dates?
How to Convert Hex color code to color name in VB Script?
What is the use of the formatdatetime function in the vbscript language?
I need to get some data from data base and store this
(retrieved) data in a excel sheet using VB script in QTP9.0
I have created connection for data base
I have created as excels sheet by using
Set XL=CreateObject("Excel.Application")
XLworksheet.cells(1,1).value= rs.fields.item("<
What is the scope of a constant declared using public?
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
A folder is there inside no of textfiles are avilable. How do count the textfiles. Normally folder means we are using subfolder methods but textfiles is not working for subfolder methods and how do get file name also.
please can you help me to get a code of flames using a visual basic 6
Mention how you can call vbscript functions?