find the length of the string without using length function?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / prudviraj
str= "this is an interview questions"
var1= Right(str,1)
var2 = InStrRev(str,var1)
MsgBox var2
| Is This Answer Correct ? | 0 Yes | 0 No |
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 |
Option Explicit
Dim a,text
text="I am Rajanikanth"
text=text&"@"
a=InStr(text,"@")-1
MsgBox a
| Is This Answer Correct ? | 0 Yes | 0 No |
Join the multiple array with out using JOIN function
How to select a value from a list box by using Selenium web-driver?
what is the function to display current date?
Compare java script and vb script?
write generic functions for webapplication?like generic function for webedit generic function for webbutton generic function for links
What are the naming conventions while declaring a variable in the vbscript language?
How will you get the largest subscript of an array in vbscript?
Explain the difference between POST and GET Method.
* ** *** Please write a code to get output like above diagram? ple explain as it how the code works?
create a form to accept username and password validate the username and password with using message box, display the corresponding user message
How many types of operators are available in the vbscript language?
write a text script to display * as below ********** **** **** *** *** ** ** * * * * ** ** *** *** **** **** **********