plz give ans to this in vb script........
"krishna radha"
i want to print this string
"Radha Krishna" like this
Answer Posted / prathyusha
s="krishna radha"
words=split(s)
For i = 0 To ubound(words)
arr=words(i)
fword= left(ucase(arr),1)
lword=right(lcase(arr),len(arr)-1)
word=fword&lword
str=word&" "&str
Next
msgbox str
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
does anyone have qtp11.0 license key.Please sendit to my mail id-rrvv2011@gmail.com...Thanks
Hello Friends , I am the new joinner of this website. I am working with Sapient ,Gurgoan I would like to ask few qurries regarding the QTP Tool of (Testing) Currently working on QTP Tool . I would like to no learn VB Script can u name some Books which i get in market. And a small issue in QTP I had 2 users right i have to login and send the document from this user to second user right. when i am send this doc some contendId number generates right. now i am loging into second user and i have to search for that contentId right i found it now i dont want to accept the document so i had an opption of check out ok i have to click on check out my QTP Code is like this Browser(" ").Page(" ").WebTable(" ").ChildItem (3,5,"Image",0).click Browser(" ").Page(" ").Link("ChecK Out").Click i new this code is perfectly right but when i am run the script i have to click on that particular contentId and click on check out but now the Problem is started the error is the document has been already checked out remeber every time my content id changes means it is the new contentId which is not been used atleast once Please help me out in this issue i am in big trouble
What are the naming conventions while declaring a variable in the vbscript language?
How you can call vbscript functions?
I am working on QTP, got struck in one place.. In my application depending upon configuration WebEdit count is increasing/ decreasing.. how to get these webedits..
how to write a vb script in QTP for yahoo registration form, i want to check the performance also like performance test, stress, load test like that.
What is the technology used by vb script?
Explain vbscript in detail?
Which operator can be used to check if two numbers are equal or not in vbscript?
how to comvert 120 into one hunderd twenty rupees only and vice varsa
Write a vbscript procedure that converts feet to inches. Hint: there are 12 inches in a foot?
Mention the environments where vbscript could be run?
Mention what is variant in vbscript?
Which operator is used to perform the comparison among 2 operands in the vbscript language?
How will you get a combined string from array of string in vbscript?