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


Please Help Members By Posting Answers For Below Questions

How will you get the natural logarithm of the given number in vbscript?

596


Illustrate briefly about the different types of statement

2015


Explain the arrays in vb script?

581


What is the purpose of on error resume next statement?

572


What methods are used to create text files and open text files in the vbscript language?

530






Explain about the extension .hta?

615


What purpose does ‘on error resume next’ serves?

544


Explain the adodb.stream class?

542


Write a code to print numbers from 5 to 0?

673


Explain the functionality of vbscript?

532


How are values assigned to string type and numeric type variables?

533


How to write VB script for login module?

2670


Which in-built function is used to format the number in the vbscript language?

570


how to increasing the numbers in a given text box please write a vb script

1698


Explain about scrrun.dll in vbscript?

642