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
Why is it recommended to close the database connection every time after the work is completed?
what is the use of QCUtil? explain with one example?
What are the data types supported by vbscript?
Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?
Why is the use of exit do or exit for statements within loops discouraged?
Which object is used to work with the database in the vbscript language and what statement is used to create this object?
what is the differance between BYVAL,BYREF?
What is the difference between a dictionary and an array?
Hello Guys, If any body looking for "worksoft certify tool training in bangalore", please contact me aimansaud@gmail.com
What is the purpose of drive object of scripting.filesystemobject class in vbscript?
What is loose binding? Why is it not a good practice to use it?
What are the environments supported by vbscript language?
How are values assigned to string type and numeric type variables?
Explain the support of asp for vb script functionality?
while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans