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 |
int a=4857 i need output as 7584.without using any inbuild function?
Why is it recommended to close the database connection every time after the work is completed?
* ** *** Please write a code to get output like above diagram? ple explain as it how the code works?
can anyone tell me the procedure of interview held in applabs
How to create pull down menu box using vb script
What is the difference between do until loop and do while loop?
Like OPTION EXPLICIT statement what are the other statements used in vbscript and their usage. Please post me all the statements please.
Explain the difference between POST and GET Method.
Which event is triggered when mouse focus comes out of an element in the vbscript language?
Diff between web table ,datatable and data base (QTP)
why do u choose to go for testing why cant for devoloping
write a vb script to add two 2*2 matrix