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
Which loop is used in case of arrays in the vbscript language?
what is diff between static and dynaic arrys?
Explain vbscript in detail?
Compare java script and vb script?
Explain about tristate constants?
How to open excel in vb script?
Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?
What is sql loader? Explain the files used by sql loader to load file?
What is the event handling in vbscript?
Hi, Can anyone please send me vb script examples to practice vb and also material to learn vb scripting in QTP? my email id : hareen_11@yahoo.com
Which object is used to work with the database in the vbscript language and what statement is used to create this object?
What are the environments supported by vbscript language?
Explain the tristate constants in vbscript?
What is the use of the formatdatetime function in the vbscript language?
Capture the Unique label changes on google home page for I am feeling lucky button and save those label changes to Notepad Note: Using QTP