plz give ans to this in vb script........
"krishna radha"
i want to print this string
"Radha Krishna" like this
Answer Posted / 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 |
Post New Answer View All Answers
What is the purpose of folders object of scripting.filesystemobject class in vbscript?
Can any one provide code for Mid(string,start[,length]). I have been asked to write code for Mid(). i.e We need to define our own function say MyMid() which should behave same like built-in Mid function
Anyone have qtp11.0 crack?
How do you declare a variable in vbscript?
Why is error handling required?
Explain about constants in vb script?
How are comments handled in the vbscript language?
Explain the extension .hta?
Program to use input box and send even numbers into sheet1 and odd numbers into sheet2 and prime numbers into sheet3 using vbscript(QTP)?
How to delete a cookie using vbscript?
Explain the adodb.stream class?
How can you create an object in vbscript?
i am having some basic knowledge in c and VB 6.0. i qtp i want to know how to write the codings. by recording it is generating lot of codings. for example i want to test the text box. senerio is text box should not accept alphabets if it accept alphabets we should return fail status if it get number we should return pass status. how to write coding in vb script please help me
Description.Create
Explain a few date functions in vbscript