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
How strcomp function works?
How to take whole text output from screen of Bitmap Application.
What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?
why do u choose to go for testing why cant for devoloping
Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?
1. How do declare public variable in vb scripts?
What is variant in vb script?
Plzzzzzzz can any one tell me which is the best institute in hyderabad for learing VBScript. plz do answer guys its urgent plzzzzzzz. thanks in advance.
Why is error handling required?
Which operator can be used to check if two numbers are equal or not in vbscript?
1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.
Write a function for Instr(). We need to write a function that works as same as Instr(). Code or Even pseudo code is good enough for me.?
give me any information abou vb script books learn quckly
hi Set myobj=Description.Create() myobj("type").value="submit" myobj("name").value="google search" myobj("html tag").value="button" browser("title:=google").page("title:=google").webButton (myobj).Click i was running above code in one weak back it was working fine i got result,again i opened after few days ,again i was trying to run the code it shows run time error in last line of my code ,why ?pls answer my question?
how to operate webobjects in a webpage using getobject function and then using generic methods?