how to find number of characters(letter a) in
the sentence
Rain Rain Go away
Answer Posted / aditya
Dim sentence, testchar, arr
sentence = Inputbox(" Enter a sentence" )
testchar = Inputbox(" The charecter to be checked")
arr = split(sentence, testchar)
msgbox "Total number of charecter " & testchar & " in sentence " & sentence & " is " & ubound(arr)
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.
What is the use of the instr function?
How to Enter Values on the Command promt using VB script
How to access array data?
What are the uses of vb script?
Explain some uses of vb script?
Explain about arrays in vb script?
There are 5 web pages.write a script to click the button on 4th web page.
What are the 2 ways to pass a value to the function?
What is vbscript language used for and which earlier language is it modeled upon?
What purpose does ‘on error resume next’ serves?
Hi All, I am facing one problem in QTP. There is link object in my application that exist in the Frame in mozilla firefox. Click event on that object is not working but once the frame is enabled/activated then click event works fine.But the frame does not have the activate property. This problem is coming in firefox only. Regards
In html file what is an ideal position to include vbscript?
How are values assigned to the variables in the vbscript language?
Both Static and dynamic arrays are handled by VB script. Is it true?