Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


plz give ans to this in vb script........

"krishna radha"
i want to print this string
"Radha Krishna" like this

Answers were Sorted based on User's Feedback



plz give ans to this in vb script........ "krishna radha" i want to print this string ..

Answer / ddpras

str="krishna radha"
A=Split(str," ")
Fstring=A(0)
Lstring=A(1)
sLString=replace(Lstring,"r","R")
sFString=replace(Fstring,"k","K")
Rstring=sLString&" "&sFString
MsgBox Rstring

The above VB Script is exact ans for this question.

Is This Answer Correct ?    21 Yes 0 No

plz give ans to this in vb script........ "krishna radha" i want to print this string ..

Answer / lak

str="krishna radha"

a=left(str,7)
c=Replace(a,"k","K")
b=right(str,5)
d=Replace(b,"r","R")


msgbox d&" "&c

Is This Answer Correct ?    1 Yes 0 No

plz give ans to this in vb script........ "krishna radha" i want to print this string ..

Answer / 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

plz give ans to this in vb script........ "krishna radha" i want to print this string ..

Answer / chinna

hello friend u carefully see the question first ok
i need to print first letter capital letter for every word
ok

Is This Answer Correct ?    1 Yes 2 No

plz give ans to this in vb script........ "krishna radha" i want to print this string ..

Answer / amit joshi

Dim str

str = "Radha Krishna"

Msgbox (str)

Is This Answer Correct ?    2 Yes 21 No

Post New Answer

More VB Script Interview Questions

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

0 Answers  


filter the array values without using filter function?

0 Answers   CSS Corp, WQED,


Can anybody code this problem for me in VB script - Create an array of 4 elements, increase its size to 7 elements and then find out which of the elements are prime (use functions)

2 Answers  


i created script for login in QTP,i parametirized that using global sheet,problem i am facing is first i want to login with first values provided in excelsheet and want to perform some operation,second time if call same action it should login with second values in excelsheet

2 Answers   TCS,


* ** *** Please write a code to get output like above diagram? ple explain as it how the code works?

2 Answers  


What are the different types of operators and their order of precedence?

0 Answers  


Here in my automation tool, i am retreiving some values and i need to store this values in the excel. How can i achieve this?. We are using VBA as scripting language. please let me know if you require any further inputs.

1 Answers  


how to operate webobjects in a webpage using getobject function and then using generic methods?

0 Answers  


Explain about .wsf files?

0 Answers  


How to create pull down menu box using vb script

0 Answers  


What is a class in CSS?

1 Answers  


give me an ex. of unoverloaded method?

2 Answers   Misys,


Categories