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
Explain a few date functions in vbscript
Mention what is variant in vbscript?
Mention what is the difference between vbscript and vba?
How can the spaces from the string be removed?
In html file what is an ideal position to include vbscript?
How to write VB script for login module?
What's the difference between vbscript and vb.net?
If else for do while select in vb script?
Develop a parameterized action that accomplishes the following a. Launch a browser of users choice ( example : IE, chrome etc) b. Open up a search engine (Google, Bing etc) c. Perform a search d. Click a particular link depending on the user’s choice ( 1st , 2nd or third link)
Can anyone send me a vb script function for verifying the functionality of active links on a web page
Difference between dim,public and private variables in vb script?
Anyone have qtp11.0 crack?
What is the use of the instr function?
Which operator can be used to change the value of the operand or change the state of the condition?
Like OPTION EXPLICIT statement what are the other statements used in vbscript and their usage. Please post me all the statements please.