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
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 |
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 |
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 |
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 |
give me any information abou vb script books learn quckly
What is the extension of the vbscript file?
does anyone have qtp11.0 license key.Please sendit to my mail id-rrvv2011@gmail.com...Thanks
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.
hi, How will write a regular expression of date in VB scripting.
What is the use of option explicit in vbscript?
How will you check that a variable is an array in vbscript?
If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?
1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 how to find using vbscripting
how to comvert 120 into one hunderd twenty rupees only and vice varsa
can any body give the code to write the function for given suppose user login with usrer id and pwd to yahoomail.after cliking "sign in"if it is valid user id the next page will display userid'message box.( Note u have to use excel sheet to retrive the userid's data)
please can you help me to get a code of flames using a visual basic 6