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


Please Help Members By Posting Answers For Below Questions

does anyone have qtp11.0 license key.Please sendit to my mail id-rrvv2011@gmail.com...Thanks

2599


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

2142


What are the naming conventions while declaring a variable in the vbscript language?

702


How you can call vbscript functions?

658


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..

1896






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.

4840


What is the technology used by vb script?

626


Explain vbscript in detail?

706


Which operator can be used to check if two numbers are equal or not in vbscript?

760


how to comvert 120 into one hunderd twenty rupees only and vice varsa

1905


Write a vbscript procedure that converts feet to inches. Hint: there are 12 inches in a foot?

680


Mention the environments where vbscript could be run?

772


Mention what is variant in vbscript?

636


Which operator is used to perform the comparison among 2 operands in the vbscript language?

613


How will you get a combined string from array of string in vbscript?

630