how to store charecters of HARIBABU Using arrays
Answers were Sorted based on User's Feedback
Answer / aditya
Dim Word, reverse, arr1(), length, i
Word = Inputbox(" Enter a Word" )
length = len(word)
redim preserve arr1(length)
For i = 0 to (length -1)
arr1(i) = mid(word,i+1,1)
Next
For i = (length -1) to 0 step -1
reverse = reverse & arr1(i)
Next
msgbox reverse
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / monika
dim a()
str="haribabu"
j=0
for i=1 to len(str)
s=mid(str,i,1)
redim preserve a(j)
a(j)=s
msgbox a(j)
j=j+1
next
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / usha
str="HARIBABU"
for i =1 to len(str)
a = mid(str,i,1)
temp = temp & a & " "
next
msgbox temp
a = split(temp," ")
for i = 0 to ubound(a)-1
msgbox a(i)
next
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / b.hari babu
dim a()
cnt=0
str="haribabu"
for i=1 to len(str)
s=mid(str,i,1)
redim preserve a(cnt)
a(cnt)=s
cnt=cnt+1
for j=0 to ubound(a)-1
msgbox a(j)
next
next
| Is This Answer Correct ? | 1 Yes | 3 No |
I want to import the sheet from the Excel to the Datatable using VB Script. I used the Syntax as 'Datatable.ImportSheet "Filename","SourceSheet","Destinat ionSheet" Ex: Datatable.ImportSheet "D:\Data1.xls","Sheet1","Global" Qtp producing run time error,How I can solve the problem
What are keywords in the vbscript language?
pls tell me which is good book or site for vbscript?
How will you check that a variable is an array in vbscript?
Write a program to display the numbers in the below format using for loops? 1 2 3 4 5 6 7 8 9 10 11 12 and Write a program to display the numbers in the below format using for loops. 1 2 3 4 5 6 7 8 9 10
Is it possible to pass optional argument to function in vb script?
How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'
Hi All, I am facing one problem in QTP. There is link object in my application that exist in the Frame in mozilla firefox. Click event on that object is not working but once the frame is enabled/activated then click event works fine.But the frame does not have the activate property. This problem is coming in firefox only. Regards
How to remove the spaces in a string Ex: "Welcome to QTPWorld" ?
Hellow friends, I am learning QTP,but here problem is VB script. please guide me how to learn VB script w.r.t QTP and if you know any books tell me or if you have any materials or any use full material or any else w.r.t QTP please post me p.p.sekhar
which is the good software training centre in bangalore?
How to open a file. What is the perpose of true and false mode there?