Hi everybady,
i have faced few Qns in one of i attended interview, please help me out with these below Qns.
1. how to join values without using join function?
2. how to compare values without using String compare function?
3. input is Bangalore, but i need output like this below format, what is function to use and get this outcome
B
A
N
G
A
L
o
R
E
4. Input is "CapGemini" but uotput should be like this "inimeGpaC"
5. Input is
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
Can someone let me know results of this Qns, please. Thanks.
Answer Posted / testengineer
4. Input is "CapGemini" but uotput should be like this "inimeGpaC"
Ans: StrReverse("CapGemini")
3. input is Bangalore, but i need output like this below format, what is function to use and get this outcome
B
A
N
G
A
L
o
R
E
Ans:
string1= "Banglore"
string2=ucase(string1)
strlength=len(string2)
For i = 1 To strlength
val=Mid(string2,i,1)&vbNewline
print val
Next
5 Ans:
For i = 1 To 5
For j = 1 To i
print j
Next
Next
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Is vbscript language a case-sensitive language and what does it mean?
How to add actions in driver script to run those actions in QTP?
how to acces the remote mechine using vb cript(QTP)
Which data type/types are supported by vbscript language and what are their specialties?
can anyone tell me the procedure of interview held in applabs
How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.
while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans
What are the rules to name variable in vbscript?
Which function is used in the vbscript language to convert the specified expression into a date type value?
Which operator can be used to check if two numbers are equal or not in vbscript?
Explain about the asc function?
Which operator can be used to change the value of the operand or change the state of the condition?
How to open excel in vb script?
How will you get the exponent of the given number in vbscript?
How will you get a combined string from array of string in vbscript?