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 |
how to genarate a random numbers in vb?
How will you get the smallest subscript of an array in vbscript?
give me any information abou vb script books learn quckly
How do you get the value of a combo box in Javascript?
a;;b;c;;;d in this string output is abcd will come how can we do that in vbscript in QTP testing?
Explain vbscript in detail?
explain with example primitive data types of vb script.
what is the object hyrarchy in QTP for a web based application
how to retrive the tooltip by using descriptive programming in qtp?
Write a code to print numbers from 5 to 0?
How to get 120 using 5 zeroes, you can use any operator(+, *, /...) in qtp.
filter the array values without using filter function?